MPI_SEND, MPI_Send Purpose Performs a blocking standard mode send operation. C synopsis #include int MPI_Send(void* buf,int count,MPI_Datatype datatype, int dest,int tag,MPI_Comm comm); C++ synopsis #include mpi.h void MPI::Comm::Send(const void* buf, int count, const MPI::Datatype& datatype, int dest, int tag) const; FORTRAN synopsis include 'mpif.h' or use mpi MPI_SEND(CHOICE BUF,INTEGER COUNT,INTEGER DATATYPE,INTEGER DEST, INTEGER TAG,INTEGER COMM,INTEGER IERROR) Description This subroutine is a blocking standard mode send operation. MPI_SEND causes count elements of type datatype to be sent from buf to the task specified by dest. dest is a task rank that can be any value from 0 to (n-1), where n is the number of tasks in comm. Parameters buf is the initial address of the send buffer (choice) (IN) count is the number of elements in the send buffer (non-negative integer) (IN) datatype is the datatype of each send buffer element (handle) (IN) dest is the rank of the destination task in comm(integer) (IN) tag is the message tag (positive integer) (IN) comm is the communicator (handle) (IN) IERROR is the FORTRAN return code. It is always the last argument. Errors Invalid count count < 0 Invalid datatype Type not committed Invalid destination dest < 0 or dest > = groupsize Invalid tag tag < 0 Invalid comm MPI not initialized MPI already finalized Related information MPI_BSEND MPI_ISEND MPI_RSEND MPI_SENDRECV MPI_SSEND