6.3.   PVM 239

  .    ,  
pvm_psend ()   buffer,      
 .  pvm_mcast ()    -
   . ,  
pvro_mcast (),    - 
(taskid),    "" (ntask)  -
  (messageid)    . 
. 6.6 ,    PVM-    , -
     ,     -
,      .

   ,  ,  -
   PVM-,     ,
..         -
  -.    ,  
     .     
 .   PVM-  -
 PVM-. ,    ""   .



# include "pvm3.h"

int pvm_recv(int taskid, int messageid);

int pvm_nrecv(int taskid, int messageid);

int pvm_precv(int taskid, int messageid, char *buffer,
int size, int type, int sender,
int messagetag, int messagelength) ;

int pvm_trecv(int taskid,int messageid,
struct timeval *timeout) ;

int pvm_probe(int taskid , int messageid);

 pvm_recv ()   PVM-   -
  .      ,  
  .  taskid   -
-.  messageid  ,  -
 .    ,     
,      (messageid).
 taskid = -1,   pvm_recv ()     . -
 messageid = -1,     .   -
  pvm_recv ()     ,
     .    pvm_recv ()
        ,     -
.         
   , :

//. . .
float Value[10] ;

pvm_recv(400002,2) ;

pvm_unpkfloat(400002, Value,1);

cout  Value..