There is one blocking SEND routine for each of the four communication modes.
Communication Mode | Blocking Send Routines |
---|---|
Synchronous | MPI_Ssend |
Buffered | MPI_Bsend |
Ready | MPI_Rsend |
Standard | MPI_Send |
Regardless of communication mode, the send commands share the same syntax. In this section we'll take a quick look at the signature for these commands and review what the parameters mean. For a more in depth look, please refer to the MPI messages topic.
int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)
MPI_SEND(buf, count, datatype, dest, tag, comm, ierror) MPI_RECV(buf, count, datatype, source, tag, comm, status, ierror)