MPI_SEND_INIT, MPI_Send_init Purpose Creates a persistent standard mode send request. C synopsis #include int MPI_Send_init(void* buf,int count,MPI_Datatype datatype, int dest,int tag,MPI_Comm comm,MPI_Request *request); C++ synopsis #include mpi.h MPI::Prequest MPI::Comm::Send_init(const void* buf, int count, const MPI::Datatype& datatype, int dest, int tag) const; FORTRAN synopsis include 'mpif.h' or use mpi MPI_SEND_INIT(CHOICE BUF,INTEGER COUNT,INTEGER DATATYPE,INTEGER DEST, INTEGER TAG,INTEGER COMM,INTEGER REQUEST,INTEGER IERROR) Description This subroutine creates a persistent communication request for a standard mode send operation, and binds to it all arguments of a send operation. A communication started with MPI_SEND_INIT is completed by a call to one of the MPI wait or test operations. MPI_START or MPI_STARTALL is used to activate the send. Parameters buf is the initial address of the send buffer (choice) (IN) count is the number of elements to be sent (integer) (IN) datatype is the type of each element (handle) (IN) dest is the rank of the destination task (integer) (IN) tag is the message tag (positive integer) (IN) comm is the communicator (handle) (IN) request is the communication request (handle) (OUT) IERROR is the FORTRAN return code. It is always the last argument. Notes See MPI_SEND for more information. 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_ISEND MPI_START