Newsgroups: comp.parallel.pvm
From: Bo-sung Lee <bslee@pvmcube4.snu.ac.kr>
Reply-To: bslee@pvmcube4.snu.ac.kr
Subject: Re: Spawn in a few host
Organization: Dept. of Aerospace Eng. Seoul National Univ.
Date: Fri, 19 Jun 1998 09:14:59 +0900
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3589AD83.784C@pvmcube4.snu.ac.kr>

Huang wrote:
> 
> Hi all:
> 
>    I am new in PVM. What I wish to accomplish is to run a file in 4
> hosts. What is the command to do that?
> 
>    I have tried to
> pvm>spawn -> filename     - it seems that only run on one host
> pvm>spawn -host1 -host2 -host3 -host4 -> filename
> pvm>spawn -n4 -host1 -host2 -host3 -host4  -> filename
> 
> Which one is the correct command or do you have any better shortcut to
> accomplish that?
> 
> Thanks in advance.

pvm>spawn -4 -> filename

or you can use 'starter' program in $PVM_ROOT/examples/ as 'starter.c'
compile this program and you will use this like this :

%starter -n 4 filename

good luck.

