Newsgroups: comp.parallel.pvm
From: jeff@adeno.wistar.upenn.edu (Jeff Taylor)
Subject: Re: Q: adding a host more than once if it has more than 1 CPU
Organization: University of Pennsylvania
Date: 29 Oct 1996 15:30:13 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <5557u5$3te@netnews.upenn.edu>

In article <1996Oct25.221446.23697@jarvis.cs.toronto.edu>,
	wayne@cs.toronto.edu (Wayne Hayes) writes:
> I'm using PVM on a network of SPARCstations.  Some of them have more
> than one CPU (SUNMP is their type), and I'd like to allow as many
> PVM jobs as there are CPUs run on these machines.  However, I can't
> find a way to "add" the name of such machines more than once.  (I
> know I could use pvm_spawn with a specific machine name more than
> once, but I want a multiple-CPU machine to act transparently like
> a "bunch" of machines, as many as it has CPUs.)
> 
> Is this possible?  I can't imagine it's not, I just haven't found the
> trick yet.
> 
> -- 

You don't need to add the host again, one pvmd is enough.  Just have your
master spawn more than one slave on the MP hosts.  Unfortunately, there is'nt
an easy way for the master to know how many CPUs are available on a given
host.  You just have to hard code it in your program.

Jeff

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

