Newsgroups: comp.parallel.pvm
From: ulrich_albrecht@AC.CyberCity.de (ULRICH ALBRECHT)
Subject: re:pvm_prbe does not seem to work ??
Organization: CyberCity Software GmbH, Aachen
Date: Thu, 31 Aug 1995 22:31:57 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <c131_49.1.1.2263.543@AC.CyberCity.de>

ranga@cs.umd.edu wrote on 28 Aug 1995 18:16:25 -0400 in message
<41tf7p$5ql@catfish.cs.umd.edu>:

> I am trying to use pvm_probe to check for incoming messages, but it always 
> returns 0 whether there is an incoming message or not. 
>  
> Any clues on what I may be doing wrong ?

Except for real bugs in pvm (which I doubt from my experience), there
are only three errors I can think of:

- calling pvm_probe with a msgtag you never get
- calling pvm_probe with a tid that never sends you anything
- calling pvm_probe after recieving the buffer with pvm_recv/pvm_nrecv
  (wouldn't make sense to return information about buffers you allready
   processed) 

I guess it's the third case (otherwise your "whether there is an
incoming message or not" wouldn't really make sense to me: how could
you know?)

Bye,                  _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
                     _/ ulrich_albrecht@ac.cybercity.de _/
  Uli               _/ albrecht@indy.aps.rwth-aachen.de_/
                    _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 

WebCom for Linux v0.08b


