integer status(MPI_STATUS_SIZE) An array to store status |
integer mpierr, count, datatype, source, tag, comm |
integer recvbuf(100) |
count=100 |
datatype=MPI_REAL |
comm=MPI_COMM_WORLD |
source=MPI_ANY_SOURCE accept any source processor |
tag=MPI_ANY_TAG accept anmy message tag |
call MPI_RECV (recvbuf,count,datatype,source,tag,comm,status,mpierr) |
Note source and tag can be wild-carded |