Newsgroups: comp.parallel.pvm
From: jeff@adeno.wistar.upenn.edu (Jeff Taylor)
Subject: Re: PVM on an SMP Linux Machine?
Organization: University of Pennsylvania
Date: 27 Sep 1996 21:33:57 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <52hh85$um6@netnews.upenn.edu>

In article <324B8321.173B86FA@co.union.nc.us>,
	Travis Melhiser <melhiser@co.union.nc.us> writes:
> Is there an easy way to let PVM know that the Linux machine
> it is running on has 4 processors?
> 
> Or is this something that PVM "automagically" knows.  Having compiled
> it on an HP k410 machine, I would have to guess that there is a little
> more to it than that though. :)
> 
> Any help greatly appreciated.
> 
> Thanks,
> 	Travis Melhiser

There isn't really.  I just do a pvm_config and if the arch type is LINUX then
spawn n processes where n is the number of CPUs.  I think what we really need
to write is a new architechture "LINUXMP" which of course will use shared 
memory.  Even now on the multi CPU SGI machines that I use there is no way for
PVM to know how many CPUs there are.  I just use the method above and when the
arch type returned in SGIMP64 I spawn 4 or 8 or 12 slaves.  Any volenteers for
writing the LINUXMP code???

Jeff Taylor

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeffrey S. Taylor				Protein Crystallography
The Wistar Institute and			Molecular Modelling
The University of Pennsylvania			Software development
Philadelphia, PA 19104				Molecular Biology
(215) 898-2202			E-Mail    Jeff@aries.wistar.upenn.edu	
				WWW	http://adeno.wistar.upenn.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

