Blocking Receive



next up previous contents
Next: Receive Buffer Up: Blocking Send and Previous: Comments on Send

Blocking Receive

 

MPI_RECV(buf, count, datatype, source, tag, comm, status)

    OUT      buf                  initial address of receive buffer
    IN       count                max number of entries to receive
    IN       datatype             datatype of each entry
    IN       source               rank of source
    IN       tag                  message tag
    IN       comm                 communicator
    OUT      status               return status

MPI_Recv(void* buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)

MPI_RECV(BUF, COUNT, DATATYPE, SOURCE, TAG, COMM, STATUS, IERROR)<type> BUF(*)
INTEGER COUNT, DATATYPE, SOURCE, TAG, COMM, STATUS(MPI_STATUS_SIZE), IERROR

MPI_RECV performs a standard-mode, blocking receive. The semantics of this function are described in Section gif. The arguments to MPI_RECV are described in the following subsections.



Jack Dongarra
Fri Sep 1 06:16:55 EDT 1995