MPI_Recv

Basic receive

Synopsis

#include "mpi.h"
int MPI_Recv( buf, count, datatype, source, tag, comm, status )
void             *buf;
int              count, source, tag;
MPI_Datatype     datatype;
MPI_Comm         comm;
MPI_Status       *status;

Output Parameters

buf initial address of receive buffer (choice)
status status object (Status)

Input Parameters

count maximum number of elements in receive buffer (integer)
datatype datatype of each receive buffer element (handle)
source rank of source (integer)
tag message tag (integer)
comm communicator (handle)