Newsgroups: comp.parallel.pvm
From: Chris Humphres <chumphre>
Subject: Re: group server again
Organization: Duke University, Durham, NC, USA
Date: 10 Oct 1995 18:17:54 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <45edci$r7l@news.duke.edu>

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??
>>
>>
>>Thanks in advance
>>
>>Gero
>>
>|> 
>|> In version 3.3.7, I just used pvm_spawn(...) to start the group server on
>|> a specific host.  I'm not sure if this still works, but you can give it a
>|> try.
>|> 
>|> Chris
>|> 
>
>
>What I need to know is about the group server for group functions (pvm-reduce etc.)
>which is pvmgs and it invoked automatically!! with the first call to a
>dynamic process group.
>
>However the application is very communication intensive and some 30 % of CPU-time
>is spent on pvmgs. So it should run on the fastest machine.
>
>
>Gero

I am talking about pvmgs. Try making the following call before performing any
group functions from your master process.

pvm_spawn("pvmgs",0,PvmTaskHost,"hostname",1,&pvmgs_tid);

where hostname is the host you wish to start the pvmd on.  As far as selecting
the host to use, there really isn't a good way dynamically (as far as I know).

Anyway, I hope this works for you.

Chris


