MPI_Iprobe - Provides a nonblocking test for a message
SYNOPSIS
C:
#include <mpi.h>
int MPI_Iprobe( source, tag, comm, flag, status )
int source;
int tag;
int *flag;
MPI_Comm comm;
MPI_Status *status;
C++:
#include <mpi.h>
bool Comm::Iprobe(
int source,
int tag) const
Fortran:
INCLUDE "mpif.h" (or USE MPI)
LOGICAL flag
INTEGER source, tag, comm, status(MPI_STATUS_SIZE), ierror
CALL MPI_IPROBE(source, tag, comm, flag, status(MPI_STATUS_SIZE), 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_Iprobe routine provides a nonblocking test for a
message. This routine accepts the following parameters:
source Specifes a source rank or MPI_ANY_SOURCE
(integer)
tag Specifies a tag value or MPI_ANY_TAG (integer)
comm Specifies the communicator (handle)
flag Returns a value of true if the operation
completed (logical)
ierror Specifies the return code value for successful
completion, which is in MPI_SUCCESS.
MPI_SUCCESS is defined in the mpif.h file.
Man(1) output converted with
man2html