Newsgroups: comp.parallel.pvm
From: jeff@Adeno.wistar.upenn.edu (Jeff Taylor)
Subject: Re: Multiprocessor Question
Organization: University of Pennsylvania
Date: 23 Oct 1995 16:14:19 GMT
Message-ID: <46gf0r$aq1@netnews.upenn.edu>

	OK I've received some helpful replies explaining that only one pvmd
is needed and that the SGIMP pvmd should be smart enough to spawn processes
on different nodes.  This seems to be true but I still have some questions 
and I'll use the 'hitc.f and hitc_slave.f' examples that came with the 
distribution.  
	When hitc begins it calls pvmfconfig to find out how many hitc_slaves 
to spawn.  This call fails in that it only counts my SGIMP machine as one 
instead of 8.  For example if I start pvm only on the SGIMP, pvmfconfig will 
return 1.  If I force the issue by adding a line to hitc.f that says "nhost=8"
then all is well and eight hitc_slaves are spawned, one on each processor.  
	I would like to be able to add this SGIMP host (or any other host in
my cluster) dynamically from my application when it isn't too busy so it 
would be helpful if pvmd could recognize that there are multiple processors
available.  I suppose I could check the PVM_ARCH variable and if it is SGIMP
increase nhost by 8 instead of 1, but what if I have multiple SGIMP hosts with
different numbers of processors?

Thanks for your help, PVM is great!

Jeff Taylor


