wiki:mpich/MPI_Recv

Version 4 (modified by wade, 16 years ago) (diff)

--

MPI_Recv

Basic receive

Synopsis

#include "mpi.h"
int MPI_Recv( void *buf, int count, MPI_Datatype datatype, int source, int tag, 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)

Notes

The count argument indicates the maximum length of a message; the actual number can be determined with MPI_Get_count.