You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static int Request::Testsome(int \fIincount\fP, Request
33
-
\fIarray_of_requests\fP[], int \fIarray_of_indices\fP[], Status \fIarray_of_statuses\fP[])
33
+
static int Request::Testsome(int \fIincount\fP, Request
34
+
\fIarray_of_requests\fP[], int \fIarray_of_indices\fP[],
35
+
Status \fIarray_of_statuses\fP[])
34
36
35
37
static int Request::Testsome(int \fIincount\fP, Request
36
38
\fIarray_of_requests\fP[], int \fIarray_of_indices\fP[])
@@ -63,7 +65,20 @@ Fortran only: Error status (integer).
63
65
64
66
.SH DESCRIPTION
65
67
.ftR
66
-
Behaves like MPI_Waitsome, except that it returns immediately. If no operation has completed it returns outcount = 0. If there is no active handle in the list, it returns outcount = MPI_UNDEFINED.
68
+
Behaves like MPI_Waitsome, except that it returns immediately.
69
+
.sp
70
+
Returns in outcount the number of requests from the list
71
+
array_of_requests that have completed. Returns in the first outcount
72
+
locations of the array array_of_indices the indices of these
73
+
operations (index within the array array_of_requests; the array is
74
+
indexed from 0 in C and from 1 in Fortran). Returns in the first
75
+
outcount locations of the array array_of_status the status for these
76
+
completed operations. If a request that completed was allocated by a
77
+
nonblocking communication call, then it is deallocated, and the
78
+
associated handle is set to MPI_REQUEST_NULL.
79
+
.sp
80
+
If no operation has completed it returns outcount = 0. If there is no
81
+
active handle in the list, it returns outcount = MPI_UNDEFINED.
67
82
.sp
68
83
MPI_Testsome is a local operation, which returns immediately, whereas MPI_Waitsome blocks until a communication completes, if it was passed a list that contains at least one active handle. Both calls fulfill a fairness requirement: If a request for a receive repeatedly appears in a list of requests passed to MPI_Waitsome or MPI_Testsome, and a matching send has been posted, then the receive will eventually succeed unless the send is satisfied by another receive; send requests also fulfill this fairness requirement.
0 commit comments