Newsgroups: comp.parallel.pvm
From: "Minlin Fan" <mfan@liv.ac.uk>
Subject: Re: Spawning from a spawned process
Message-Id: <F6uBLG.17K@liverpool.ac.uk>
Sender: news@liverpool.ac.uk (News System)
Organization: The University of Liverpool
References: <36BB3F08.72EA71BB@ece.neu.edu>
Date: Mon, 8 Feb 1999 14:43:07 GMT
Xref: ukc comp.parallel.pvm:7994


I encountered this problem before.

When a slave process is spawned, it needs some time to be ready for sending
and receiving message. If the communications between master and slave starts
before the slave is ready then you will get error message on "pvm_recv".

There are two ways to sort this out:
1. do a certain time's sleep to wait for the spawned
   slaves to be ready.
2. let slaves send acknowledge back to master when they are
   ready.

Minlin

