Newsgroups: comp.parallel.pvm
From: dwhite@trout.mrj.com (David White)
Subject: libpvm errors printing erroneously
Organization: MRJ, Inc./Oakton, Virginia, USA
Date: 27 Jul 1994 10:01:59 -0400
Message-ID: <315pcn$n0n@trout.mrj.com>

I'm having some trouble getting libpvm to shut up.  Actual code snippets:

   myid = pvm_mytid();
           .
           .
           .
   if ((i = pvm_setopt(PvmAutoErr, 0)) < 0)
      {
      sprintf(errmsg, "%s: error turning off pvm error messages.", myname);
      UiError(errmsg, i);
      }
   pvm_catchout(NULL);
           .
           .
           .
   pvm_joingroup(COMM_SERVER_GROUP);
           .
           .
           .

Since I am trying to make the system as robust as possible, I am developing
ways to detect and restart from daemon crashes.  To test these features, I kill
the daemon, but when I do, the screen fills up with

libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock
libpvm [t80001]: mxfer() EOF on pvmd sock

until I kill the task (which does nothing for the error recovery, as you might
imagine).  I thought the AutoErr => 0 should suspend all error reporting.  Any
ideas?

Dave White
dwhite@mrj.com


