Newsgroups: comp.parallel.pvm
From: TZENG <tzeng@physics.ucla.edu>
Subject: Is pvmfspawn(.., .., '*', ntask-1, .., ..) for the SPMD model
Organization: UCLA
Date: 31 Oct 1995 22:12:55 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <476717$mod@gauss.physics.ucla.edu>

Hi, 

I have been using pvm3 from the day pvm3.0 was introduced but
I am still confused about pvmfspawn. 

Say I have just 2 nodes named alpha and beta, and I have got both
of them on the Virtual Machine by using 'pvmd3 node.list &' on alpha.
However if I 'pvmfspawn(jb, pvmdefault, '*', 1, tid, ierr)' 
from host process on alpha by using SPMD model, 
sometimes I've got the slave process spawned on beta, which is good,
but sometimes I've got the spawned process on alpha, which means that
I have 2 processes running on alpha and none on beta!  By no means
in this situation can we achieve the Load Balancing.

If anyone there knows how this should be solved, please email me 
while you are posting. I will very much appreciate it.

Thanks in advance.

-- 
Kuo-Cheng Tzeng
PhD candidate in Computational Plasma Physics

http://www.physics.ucla.edu/~tzeng


