Newsgroups: comp.parallel.pvm
From: haferman@icaen.uiowa.edu (Jeff Haferman)
Subject: Forcing PVM to spawn on all available hosts?
Organization: University of Iowa, Iowa City, IA, USA
Date: 26 Apr 1995 19:37:53 GMT
Message-ID: <3nm7eh$a96@nexus.uiowa.edu>


I'm programming in Fortran using PVM 3.3.4...

I have 4 hosts in my virtual machine, and I would like to
spawn a task on each of the 4 machines.  However, using the
syntax
   call pvmfspawn('dompvm',PVMDEFAULT,'*',ntask,tids,info)
sometimes results in pvm spawning multiple instances of 'dompvm'
on a single host, and no instances on other hosts.

I could get around this using
   call pvmfspawn('dompvm',PVMHOST,hostname,ntask,tids,info)
but then I must explicitly give each hostname.  But since PVM has
an internal list of all the hosts in the virtual machine, can
I somehow tell it to use all of the available hosts?  (i.e. 
"Start up a process on each available host, ignore your
internal heuristic for task distribution")

The reason I want to do this is that each task requires 
a significant portion of the memory available on each host,
and spawning multiple tasks on each host will results in
heavy swapping.


-- 
==============================================================================
+            Jeff Haferman                         PH: (319) 335-5384        +
+ Department of Mechanical Engineering             FX: (319) 335-5669        +
+  and Center for Global and Regional            The University of Iowa      +
+        Environmental Research                   Iowa City, IA  52242       +
==============================================================================
+ http://www.cgrer.uiowa.edu/people/haferman e-mail:haferman@icaen.uiowa.edu +
==============================================================================


