X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f936417005d12a1a62b30aaa2eb85f418c38b487..a8b5faafecff77b1540810d84fc0b387f85952a5:/src/smpi/colls/gather-ompi.c diff --git a/src/smpi/colls/gather-ompi.c b/src/smpi/colls/gather-ompi.c index 06a9488aac..fdaa1d7316 100644 --- a/src/smpi/colls/gather-ompi.c +++ b/src/smpi/colls/gather-ompi.c @@ -319,6 +319,7 @@ smpi_coll_tuned_gather_ompi_linear_sync(void *sbuf, int scount, /* wait all second segments to complete */ ret = smpi_mpi_waitall(size, reqs, MPI_STATUSES_IGNORE); + if (ret != MPI_SUCCESS) { line = __LINE__; goto error_hndl; } free(reqs); }