Newsgroups: comp.parallel.pvm
From: coelho@provins.caii (Fabien COELHO)
Subject: spawn bug/feature
Organization: CRI, cole des mines de Paris
Date: 27 Sep 1995 12:52:54 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Message-ID: <COELHO.95Sep27135254@provins.caii>


Hi!

I run PVM 3.3.8 on an Alpha farm and 3.3.9 on a SUN network.
I guess there is some kind of a bug (or feature) with pvm_spawn.
Namely, if the spawned program happen not to exist, no errors will
be reported, and runtime errors will be detected later on... but too
late in my opinion.

      call pvmfspawn(
     $     NODE_PROGRAM_NAME, 
     $     PVMARCH, 
     $     NODE_ARCHITECTURE, 
     $     NBOFTASKS, 
     $     NODETIDS, 
     $     info)
 
      if (info.lt.0) then
         call pvmfperror("initial spawning", info)
         call pvmfexit(info)
         stop
      endif
 
info is never set to a negative value whatever the NODE_PROGRAM_NAME
value, as far as I can see with my bugs.

Fabien.
-- 
Fabien COELHO __ http://www.cri.ensmp.fr/~coelho __ coelho@cri.ensmp.fr
  CRI, ENSMP, 35, rue Saint Honor, 77305 Fontainebleau Cedex, France
     phone: 33 1 64 69 {voice: 48 52, fax: 47 09, standard: 47 08}
       ________  All opinions expressed here are mine  ________

