Newsgroups: comp.parallel.pvm
From: christos@alumni.cs.colorado.edu (Christos Triantafill)
Subject: Re: Processes can't spawn inside pvm?
Organization: University of Colorado, Boulder
Date: 17 May 1995 16:40:36 GMT
Message-ID: <3pd8u4$ftk@csnews.cs.colorado.edu>

In article <3orgvu$pag@darkstar.UCSC.EDU>,
Mike Gross  <gross@physics.ucsc.edu> wrote:
>fammeter@rif2 (Frank Richard Ammeter) wrote:
>>
>> I have a problem with pvm3 on a SUN4SOL2 cluster. Processes I start from the
>> shell work ok; but inside "pvm" or "xpvm", I only get one process, which doesn't
>> seem to do anything but to wait instead of spawning other processes.
>> Any hints? Shouldn't processes behave the same independent of whether I start
>> them inside or outside the pvm console? 
>> Any hints? Thanks.
>> 
>
>One fix is to have all tasks join a group, and use the size of the
>group as to test for the master (using pvm_gsize()).  The drawback
>to this approach is that you cannot run more than one invocation of
>your master under the same PVMD at the same time.
>
>Another fix is to have separate executables for master and slave
>tasks.

Or you can use the information provided by pvm_tasks() to check
whether other tasks with the same name are running


Christos



