MPI_TEST(3)MPI_TEST(3)NAMEMPI_Test - Tests for the completion of a send or receive operation
SYNOPSIS
C:
#include <mpi.h>
int MPI_Test ( request, flag, status )
MPI_Request *request;
int *flag;
MPI_Status *status;
C++:
#include <mpi.h>
bool Request::Test()
Fortran:
INCLUDE "mpif.h" (or USE MPI)
LOGICAL flag
INTEGER request, status(MPI_STATUS_SIZE), ierror
CALL MPI_TEST(request, 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_Test routine tests for the completion of a send or receive
operation. This routine accepts the following parameters:
request Specifies the communication request (handle)
flag Returns a value of true if operation completed (logical)
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.
Page 1