X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c81c99a491282f76757c2673961e3cdee6853539..550e68e2d3bb08b56b4c900ba701e07f38882b19:/teshsuite/smpi/mpich3-test/coll/exscan.c diff --git a/teshsuite/smpi/mpich3-test/coll/exscan.c b/teshsuite/smpi/mpich3-test/coll/exscan.c index 70f4c53d7b..64ab9d5a81 100644 --- a/teshsuite/smpi/mpich3-test/coll/exscan.c +++ b/teshsuite/smpi/mpich3-test/coll/exscan.c @@ -84,6 +84,11 @@ int main( int argc, char *argv[] ) } } } + + MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN); + /* Make sure that we check for buffer aliasing properly */ + if (MPI_SUCCESS == MPI_Exscan( recvbuf, recvbuf, count, MPI_INT, MPI_SUM, comm )) + errs++; #endif free( sendbuf );