Skip to content

Commit 2b9cda4

Browse files
committed
add debug
1 parent cfca937 commit 2b9cda4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ompi/communicator/comm_request.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ static int ompi_comm_request_progress (void)
125125
while (request_item->subreq_count) {
126126
ompi_request_t *subreq = request_item->subreqs[request_item->subreq_count-1];
127127
if( REQUEST_COMPLETE(subreq) ) {
128+
if (OMPI_SUCCESS != subreq->req_status.MPI_ERROR) {
129+
fprintf(stderr, "ompi_comm_request_progress: subrequest completed with error %d\n", subreq->req_status.MPI_ERROR);
130+
}
128131
ompi_request_free (&subreq);
129132
request_item->subreq_count--;
130133
} else {

0 commit comments

Comments
 (0)