MPI_IRECV(3)MPI_IRECV(3)NAMEMPI_Irecv - Begins a nonblocking receive
SYNOPSIS
C:
#include <mpi.h>
int MPI_Irecv( buf, count, datatype, source,
tag, comm, request )
void *buf;
int count;
MPI_Datatype datatype;
int source;
int tag;
MPI_Comm comm;
MPI_Request *request;
C++:
#include <mpi.h>
Request Comm::Irecv(
void* buf,
int count,
const Datatype& datatype,
int source,
int tag) const
Fortran:
INCLUDE "mpif.h" (or USE MPI)
<type> BUF(*)
INTEGER count, datatype, source, tag, comm, request, ierror
CALL MPI_IRECV(buf, count, datatype, source, tag, comm, request, ierror)
STANDARDS
This release implements the MPI 1.2 standard, as documented by the MPI
Forum in the spring 1997 release of MPI: A Message Passing Interface
Standard.
DESCRIPTION
The MPI_Irecv routine begins a nonblocking receive. This routine accepts
the following parameters:
Page 1
MPI_IRECV(3)MPI_IRECV(3)
buf Specifies the initial address of the receive buffer (choice)
count Specifies the number of elements in the receive buffer
(integer)
datatype Specifies the data type of each receive buffer element (handle)
source Specifies the rank of the source (integer)
tag Specifies the message tag (integer)
comm Specifies the communicator (handle)
request Returns the communication request (handle)
ierror Specifies the return code value for successful completion,
which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mpif.h
file.
Page 2