Newsgroups: comp.parallel.pvm
From: Soonjae Choi <soonjae@ece.arizona.edu>
Subject: Looking for any souce code using pvm_nrecv.
Organization: Univ. of Arizona
Date: Mon, 01 Apr 1996 23:50:54 -0700
Mime-Version: 1.0
Content-Type: text/plain; charset=euc-kr
Content-Transfer-Encoding: 7bit
Message-ID: <3160CE4E.1212@ece.arizona.edu>

Hi!
  I am using pvm_nrecv routine for my program.
  But I got a bad result.
  pvm_nrecv does not recognize the message until the middle of process.
   Each calculation for 3 seconds,pvm_nrecv check if the message
arrives.
   Although the message already arrived,it recognize the message after
    30 seconds.
   I guess I don't understand pvm_nrecv routine enough.
  
   My algorithm is as follows:

 loop :
 
  arrived = pvm_nrecv(-1,msgtype);
  if(arrived > 0 ) 
     pvm_upacking ~

   else calculation(3-second)
 
   Thanks.


  Soonjae Choi
  ECE Grdauate Student
 
  +-------------------------------------------------------------------+
  |   soonjae@ece.arizona.edu   Electrical and computer Engineering   |
  |                             University of Arizona                 |
  |   (520) 721-8856 (H)        Tucson, Az  85721                     |
  +-------------------------------------------------------------------+

