2.13.2.2. MPI_Recv Function

int MPI_Recv (
    void *buf, int count, MPI_Datatype datatype,
    int source, int tag, MPI_Comm comm,
    MPI_Status *status);
int MPI_Recv_c (
    void *buf, MPI_Count count, MPI_Datatype datatype,
    int source, int tag, MPI_Comm comm,
    MPI_Status *status);
buf

address of receive buffer

count

maximum number of elements in receive buffer

datatype

datatype of each receive buffer element

source

rank of source or MPI_ANY_SOURCE

tag

message tag or MPI_ANY_TAG

comm

communicator

status

status object

int MPI_Get_count (const MPI_Status *status, MPI_Datatype datatype, int *count);
int MPI_Get_count_c (const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count);