The Queen's University of Belfast
Parallel Computer Centre

[Next] [Previous] [Top]

Additional Message Passing Features


PVMFTRECV()

Receive with timeout

PVMFTRECV(TID, MSGTAG, SEC, USEC,BUFID)

PVMFTRECV blocks the process until a message, msgtag, has arrived from tid, it place the message in a new active receive buffer also clearing the current one.

PVMFPSEND()

Pack and send data in one call

PVMFPSEND(TID, MSGTAG, BUF, LEN,

DATATYPE, INFO)

Eg

CALL PVMFPSEND(TID, MSGTAG, BUF, CNT,

REAL4, INFO)

PVMFSETRBUF()

Switches the active receive buffer and saves the previous buffer

PVMFSETRBUF(BUFID, OLDBUF)

Eg CALL PVMFSETRBUF(NEWBUF, OLDBUF)

Error Handling



PVMFPERROR()

Prints the error status of the last PVM call

PVMFPERROR (MSG, INFO)

Eg

CALL PVMFSEND(TID, MSGTAG)

IF (INFO .LT. 0) THEN

CALL PVMFPERROR(`Step 1', INFO)

ENDIF

Setting and Getting Options

PVMFSETOPT(WHAT, VAL, OLDVAL)

PVMFGETOPT(WHAT, VAL)




[Next] [Previous] [Top]
All documents are the responsibility of, and copyright, © their authors and do not represent the views of The Parallel Computer Centre, nor of The Queen's University of Belfast.
Maintained by Alan Rea, email A.Rea@qub.ac.uk
Generated with CERN WebMaker