X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/281f8c29e177852dcb1591fc31e363e1176857c8..acddff27a10d42041457b22aa4c59342695b9d4c:/teshsuite/smpi/mpich3-test/coll/alltoallv.c diff --git a/teshsuite/smpi/mpich3-test/coll/alltoallv.c b/teshsuite/smpi/mpich3-test/coll/alltoallv.c index 484ebf736d..844596e32f 100644 --- a/teshsuite/smpi/mpich3-test/coll/alltoallv.c +++ b/teshsuite/smpi/mpich3-test/coll/alltoallv.c @@ -125,6 +125,12 @@ int main( int argc, char **argv ) } } } + + /* Check to make sure that aliasing is disallowed correctly */ + MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN); + if (MPI_SUCCESS == MPI_Alltoallv(rbuf, recvcounts, rdispls, MPI_INT, + rbuf, recvcounts, rdispls, MPI_INT, comm)) + err++; #endif free( rdispls );