Newsgroups: comp.parallel.pvm
From: rcs@parcom.ernet.in (Ramesh Chandrashekar)
Subject: Re: pvm_send and pvm_mcast
Organization: Centre for Development of Advanced Computing (C-DAC), Pune, INDIA.
Date: Fri, 5 Jan 1996 04:20:25 GMT
Message-ID: <DKoxDu.ExB@parcom.ernet.in>

Andreas Dilger (adilger@enel.ucalgary.ca) wrote:

: In my program, I use pvm_send() to transmit various different items to a
: several machines, and then afterwards, I transmit common information
: to all the systems with pvm_mcast().  The problem I'm having is that
: the messages sent by pvm_mcast() are arriving before those sent by
: pvm_send(), even though they were sent later.  I thought PVM was guaranteed
: to preserve message order?  I'm using pvm 3.3.10 on both hosts.  

You could use tags instead, to differentiate the 'send' and 'mcast' messages.
Use the same tag on the recv. end to differentiate the two. PVM does not
guarantee any order of arrival of messages. What it lets you do is tag
messages so that you recv in a specific order irrespective of the order of
arrival of messages. Refer PVM manual for tagging.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Living on Earth may be expensive, but it includes an annual free trip
    around the Sun.

			Ramesh Chandrasekhar
			CDAC, Pune Univ. Campus,
			Ganeshkhind, Pune - 411 007.
			INDIA.

		email: rcs@parcom.ernet.in, rcs@seismic.parcom.ernet.in

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

