Newsgroups: comp.parallel
From: lnicklas@osf1.gmu.edu (Lisa D Nicklas)
Subject: pvm_probe() with pvm_psend/precv
Organization: George Mason University, Fairfax, Virginia, USA
Date: Sun, 30 Jul 1995 15:13:51 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Message-ID: <3vg7jf$ssk@portal.gmu.edu>

Hi,

   On the Paragon, the PVM book recommends that programs use pvm_psend
and pvm_precv instead of packing the message buffer.  The pvm_psend/precv
map directly to the native message passing primitives which leads to better
performance.  
   I have a program in which the nodes must process several types
of messages that do not arrive in a predefined order.  When I use pvm_send,
I can use pvm_probe to determine which message is next in the queue.  But when
I use pvm_psend, pvm_probe can nolonger detect that there is a message in
the queue.  I can't find this restriction on pvm_probe documented in the PVM
book or user's guide.  Is this the way pvm_probe is suppose to work?  (I'm 
using PVM 3.3.7)

Thanks alot,

Lisa Nicklas

George Mason University 
lnicklas@gmu.edu


