X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b73466ada27682d1729f394549479da83ef4a99..347996b4a10c4e8579080692afa60e0afb88b60a:/teshsuite/smpi/mpich3-test/coll/alltoallw2.c diff --git a/teshsuite/smpi/mpich3-test/coll/alltoallw2.c b/teshsuite/smpi/mpich3-test/coll/alltoallw2.c index 7d40236f41..981b7702b5 100644 --- a/teshsuite/smpi/mpich3-test/coll/alltoallw2.c +++ b/teshsuite/smpi/mpich3-test/coll/alltoallw2.c @@ -47,6 +47,7 @@ int main( int argc, char **argv ) if (!sbuf || !rbuf) { fprintf( stderr, "Could not allocated buffers!\n" ); MPI_Abort( comm, 1 ); + exit(1); } /* Load up the buffers */ @@ -65,6 +66,7 @@ int main( int argc, char **argv ) if (!sendcounts || !recvcounts || !rdispls || !sdispls || !sendtypes || !recvtypes) { fprintf( stderr, "Could not allocate arg items!\n" ); MPI_Abort( comm, 1 ); + exit(1); } /* Note that process 0 sends no data (sendcounts[0] = 0) */ for (i=0; i