Newsgroups: comp.parallel.pvm
From: cazimme@lims01.lerc.nasa.gov (Marty Zimmerman)
Subject: bug in blocking receive?
Organization: NASA Lewis R. C. (Analex)
Date: Thu, 15 Sep 1994 16:35:19 -0600
Message-ID: <cazimme-150994163519@mzimmer.lerc.nasa.gov>

I am using pvm 3.3.2 on a cluster of IBM RS6000s. Specifically, I am using
the pvm C version with a C++ code. When I used commands such as

pvm_recv( -1, msg_tag.east ) where msg_tag.east is a const int
in some cases I would actually receive a message that pvm_bufinfo()
indicated as having a *different* message tag <> msg_tag.east. When I
changed the call to

pvm_recv( tid, msg_tag.east ), the blocking receive worked correctly.

Note: this code is set up so that either specifying the tid or the message
tag should be sufficient for identifying a unique message.

According to the manual, it appears that I should be able to specify a
message for reception with a distinct message tag, but this is not what I
encountered.
Have others seen a problem like this?

Marty

_____________________________________________________________________________
Marty Zimmerman           m.l.zimmerman@lerc.nasa.gov
Analex Corp. - NASA Lewis Research Center
Cleveland, Ohio USA

