MPI_Probe - Provides a blocking test for a message
SYNOPSIS
C:
#include <mpi.h>
int MPI_Probe( source, tag, comm, status )
int source;
int tag;
MPI_Comm comm;
MPI_Status *status;
C++:
#include <mpi.h>
void Comm::Probe(
int source,
int tag) const
Fortran:
INCLUDE "mpif.h" (or USE MPI)
INTEGER source, tag, comm, status(MPI_STATUS_SIZE), ierror
CALL MPI_PROBE(source, tag, comm, 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_Probe routine provides a blocking test for a
message. This routine accepts the following parameters:
source Specifies a source rank or MPI_ANY_SOURCE
(integer)
tag Specifies a tag value or MPI_ANY_TAG (integer)
comm Specifies the communicator (handle)
status Returns the status object (status)
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