Newsgroups: comp.parallel.pvm
From: Roeland Merks <roel@binf.biol.ruu.nl>
Subject: How can I spawn only one process on one machine?
Organization: Academic Computer Centre Utrecht, (ACCU)
Date: Wed, 08 Jan 1997 10:30:55 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <32D3694F.41C6@binf.biol.ruu.nl>

Hello,

I have the following problem. 

A master program sends out one slave task less than the number of hosts
I have in my parallel machine (i.e. 16).  After this a slave task is
spawned every time the result of an other slave task has returned. 
In this process, pvm seems to have a slight preference to spawn the
slaves on the machine running the master task. In many cases this fills
up the memory of the master machine.
As a result, in many cases my slave tasks are killed immediately because
they are not able to allocate enough memory. 
What should I do to let pvm spawn its processes only on "empty (i.e. not
yet running a process)" machines??

I am using pvm3.3 on 17 Pentiums running Linux 1.2.13.

Thank you in advance,

Roeland Merks

