Newsgroups: comp.parallel.pvm
From: Ed Blosch <elblosc@ca.sandia.gov>
Subject: How to spawn in hostless program
Organization: Sandia National Labs
Date: Mon, 26 Feb 1996 11:43:31 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <31319CE3.41C67EA6@ca.sandia.gov>

In Fortran, how does one spawn (N-1) tasks on the N-1 processors
listed in the host file, when the spawning task (and PVM) were 
started on another processor?  I do this:
machine1%  pvm hostfile
pvm> quit
machine1%  prog > prog.out &

My hostfile has in it:
machine2
machine3
machine4

and prog tries to spawn 3 processes which end up getting spawned on
machine1, machine2, machine3, instead of 2,3,4 as I desire.  Would 
adding machine1 to the host file but assigning it speed = 0 help to
discourage PVM from spawning there?  Seems to me there should be some
option to indicate you are using a hostless programming strategy  and
therefore PVM shouldn't spawn the other workers locally.
Thanks for any help,
Ed

