MPI_Waitany(3)
MPI_Waitany - Waits for any specified send or receive to complete
As shipped in IRIX 6.5.22. Added in IRIX 6.5.19.
NAME MPI_Waitany - Waits for any specified send or receive to complete SYNOPSIS C: #include <mpi.h> int MPI_Waitany(count, array_of_requests, index, status ) int count; MPI_Request array_of_requests[]; int *index; MPI_Status *status; C++: #include <mpi.h> static int Request::Waitany( int count, Request array_of_requests[]) Fortran: INCLUDE "mpif.h" (or USE MPI) INTEGER count, array_of_requests(*), index, status(MPI_STATUS_SIZE), ierror CALL MPI_WAITANY(count, array_of_requests(*), index, 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_Waitany routine waits for any specified send or receive operation to complete. This routine accepts the following parameters: count Specifies the list length (integer). array_of_requests Specifies the array of requests (array of handles). index Returns the index of the handle for the operation that completed. For C, the range is 0 to count-1. For Fortran, the range is 1 to count (integer). 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.