Go to the first, previous, next, last section, table of contents.


Send functions

MPI has a large number of functions for sending data from one process to another. The following are the most basic send functions:

Fortran subroutine: MPI_SEND (BUF, COUNT, DATATYPE, DEST, TAG, COMM, IERROR)
<type> BUF(*)
INTEGER COUNT, DATATYPE, DEST, TAG, COMM, IERROR
C function: int MPI_Send (void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
MPI_Send() is a blocking point-to-point send operation. The buf argument points to the initial address of the send buffer. This buffer consists of count elements of type datatype. It is sent to the process with rank dest relative to the communicator group comm. The tag type associated with the message is tag. For an example of MPI_Send(), see section Basic MPI concepts.


Go to the first, previous, next, last section, table of contents.