- Timestamp:
- 05/24/17 16:59:40 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/extern/src_ep_dev/ep_wait.cpp
r1138 r1146 86 86 87 87 int finished = 0; 88 boolfinished_index[count];88 int finished_index[count]; 89 89 90 90 for(int i=0; i<count; i++) … … 97 97 for(int i=0; i<count; i++) 98 98 { 99 //MPI_Test(&array_of_requests[i], &finished_index[i], &array_of_statuses[i]); 99 100 if(finished_index[i] == false) // this request has not been tested. 100 101 { … … 102 103 { 103 104 MPI_Wait(&array_of_requests[i], &array_of_statuses[i]); 104 if(array_of_requests[i].type == 3)105 {106 //int check_count;107 //MPI_Get_count(&array_of_statuses[i], array_of_requests[i].ep_datatype, &check_count);108 //check_sum_recv(array_of_requests[i].buf, count, array_of_requests[i].ep_datatype, array_of_requests[i].ep_src, array_of_requests[i].ep_tag, array_of_requests[i].comm, 2);109 }110 105 finished++; 111 106 finished_index[i] = true;
Note: See TracChangeset
for help on using the changeset viewer.