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);
address of receive buffer
maximum number of elements in receive buffer
datatype of each receive buffer element
rank of source or MPI_ANY_SOURCE
message tag or MPI_ANY_TAG
communicator
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);