wiki:mpich/MPI_Recv

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.

Last modified 16 years ago Last modified on Jul 23, 2008, 11:24:09 AM