LAM/MPI logo

MPI binding for MPI_RECV_INIT

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_RECV_INIT(buf, count, datatype, source, tag, comm, request)
[ OUT buf] initial address of receive buffer (choice)
[ IN count] number of elements received (integer)
[ IN datatype] type of each element (handle)
[ IN source] rank of source or MPI_ANY_SOURCE (integer)
[ IN tag] message tag or MPI_ANY_TAG (integer)
[ IN comm] communicator (handle)
[ OUT request] communication request (handle)


C Binding

int MPI_Recv_init(void* buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request)

FORTRAN Binding

MPI_RECV_INIT(BUF, COUNT, DATATYPE, SOURCE, TAG, COMM, REQUEST, IERROR)
<type> BUF(*)
INTEGER COUNT, DATATYPE, SOURCE, TAG, COMM, REQUEST, IERROR

C++ Binding
(in the MPI:: namespace)

Prequest Comm::Recv_init(void* buf, int count, const Datatype& datatype, int source, int tag) const