Newsgroups: comp.parallel.pvm
From: papadopo@cs.utk.edu (Philip Papadopoulos)
Subject: Re: group server again
Organization: CS Department, University of Tennessee, Knoxville
Date: 11 Oct 1995 11:10:34 -0400
Message-ID: <45gmpaINN2n4@duncan.cs.utk.edu>

In article <45edci$r7l@news.duke.edu> Chris Humphres <chumphre> writes:
>gero@thor.e-technik.tu-ilmenau.de (Gero Maeder) wrote:
>>Maybe I was nor clear enough.
>>
>>In article <45c0tb$b0n@news.duke.edu>, Chris Humphres <chumphre> writes:
>>|gero@thor.e-technik.tu-ilmenau.de (Gero Maeder) wrote:
>>>I have some problems with finding a clever way to start up
>>>a group server on a specific machine.
>>>
>>>Inside a PVM-application different (in speed and memory) SPARC are included.
>>>However the group server is an additional load which should not run
>>>on the slowest machine, while the faster one are waiting idle in front
>>>of an barrier or something similar.
>>>Is there a way to start the group server on a specific machine??
Sure. From the console just do

pvm> reset               # make sure nothing is running
pvm> spawn -<your host name here> pvmgs

That will put the group server where you want it. You can use
pvm_spawn("pvmgs",....), as suggested previously, from your code.

Each task must look up the tid of the group server on the first
group call. If it finds it, it records the tid for future 
calls. If it doesn't find it, it starts a new server.


-Phil

