[back] [prev] [next] [index] [root]

 


PvmGet

Receives data from PVM.

Syntax:

L := PvmGet();

List
  L  

Description:

If there is (valid) data PvmGet will receive one (complete) item, otherwise the return value is false. If it successfully receives data it will return a list containing a (small) integer as first entry as a flag. If flag equals 1 the other list entries are (exactly) as sent e.g. by PvmSend. \par If flag equals 2 this is send by Error(fmt) on a slave. The second entry will contain the hostname, the third the output of Error(fmt). \par If flag equals 4 the data comes from an ordenary Print() on the slave. The second parameter will be the hostname, the third the data string. \par Attention, it is possible to send arbitrary data with flag of 2 and 4 using PvmSlavePrint or PvmSlaveError. Data sent this way may not contain the hostname. \par In the examples given below we will NOT describe how to set up the pvm-network. Lines beginning with slave> indicate commands executed on the slave. They will not work an the master.


<- back[back] [prev] [next] [index] [root]