Newsgroups: comp.parallel.pvm
From: Alan Thompson <amt@abingdon.geoquest.slb.com>
Subject: Re: Why my Package are lost?
Organization: Schlumberger
Date: Wed, 08 Jan 1997 15:22:19 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <32D3BBAB.167E@abingdon.geoquest.slb.com>

Roeland Merks wrote:
> 
> > I am trying to write some code with pvm. But when I want
> > all slave programs spawned by host to send back data,
> > some data are lost! and the slave program just done it's job
> > and finished. This always make the host waiting for a lost data
> > and halt.
> >
> > I know I should try to add some codes to resend the data, but why?
> > I think the data packet should not just disappear!
> > Any one tell me why? Thanks a lot!!


I have seen the problem that you describe before. Under some
circumstances a process which sends a message then exits seems to exit
before it has completed the send. I would try the following.

1. Make sure that pvm_exit or pvmfexit is called before exiting.

2. If that doesn't work try puting in a small delay at the end to make
sure that the message has been sen't before the process stops

-- 
Alan Thompson
Schlumberger GeoQuest
Telephone: +44 1235 559595 ext 2113
FAX      : +44 1235 535565
email athompson@abingdon.geoquest.slb.com

