MPI_Testall function
Tests for the completion of all previously initiated requests.
Syntax
int MPIAPI MPI_Testall(
int count,
_Inout_count_(count) MPI_Request *array_of_requests,
_Out_cap_(count) MPI_Status *array_of_statuses
);
Parameters
count
The number of entries in array_of_requests parameter.array_of_requests
An array of MPI_Request handles of outstanding operations.array_of_statuses
An array of MPI_Status objects describing the completed operations. Might be MPI_STATUSES_IGNORE if no status information is desired.
Return value
Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.
Returns MPI_ERR_IN_STATUS if one or more operations complete in error. The status of failed operations is returned in the corresponding entry in the array_of_statuses parameter.
In Fortran the return value is stored in the IERROR parameter.
Fortran
MPI_TESTALL(COUNT, ARRAY_OF_REQUESTS, FLAG, ARRAY_OF_STATUSES, IERROR)
LOGICAL FLAG
INTEGER COUNT, ARRAY_OF_REQUESTS(*),
ARRAY_OF_STATUSES(MPI_STATUS_SIZE,*), IERROR
Requirements
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |