MPI_TESTALL(3)MPI_TESTALL(3)NAMEMPI_Testall - Tests for the completion of all previously initiated
communications
SYNOPSIS
C:
#include <mpi.h>
int MPI_Testall( count, array_of_requests, flag,
array_of_statuses )
int count;
MPI_Request array_of_requests[];
int *flag;
MPI_Status *array_of_statuses;
C++:
#include <mpi.h>
static bool Request::Testall(
int count,
Request array_of_requests[])
Fortran:
INCLUDE "mpif.h" (or USE MPI)
LOGICAL flag
INTEGER count, array_of_requests(*),
array_of_statuses(MPI_STATUS_SIZE,*), ierror
CALL MPI_TESTALL(count, array_of_requests(*), flag,
array_of_statuses(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_Testall routine tests for the completion of all previously
initiated communications. This routine accepts the following parameters:
count Specifies the list length (integer)
array_of_requests
Specifies the array of requests (array of handles)
Page 1
MPI_TESTALL(3)MPI_TESTALL(3)
flag Returns a value of true if operation completed (logical)
array_of_statuses
Returns an array of status objects (array of 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 2