MPI_Testany

--- Tests for completion of any previdously initiated communication

Input Parameters

count
list length (integer)
array_of_requests
array of requests (array of handles)

Output Parameters

index
index of operation that completed, or MPI_UNDEFINED if none completed (integer)
flag
true if one of the operations is complete (logical)
status
status object (Status)

Synopsis


#include "mpi.h"
int MPI_Testany( count, array_of_requests, index, flag, status )
int         count;
MPI_Request array_of_requests[];
int         *index, *flag;
MPI_Status  *status;

Location: testany.c