X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..550e68e2d3bb08b56b4c900ba701e07f38882b19:/teshsuite/smpi/mpich3-test/coll/icalltoallw.c diff --git a/teshsuite/smpi/mpich3-test/coll/icalltoallw.c b/teshsuite/smpi/mpich3-test/coll/icalltoallw.c index 2b8252ea35..745bbb1681 100644 --- a/teshsuite/smpi/mpich3-test/coll/icalltoallw.c +++ b/teshsuite/smpi/mpich3-test/coll/icalltoallw.c @@ -49,6 +49,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 */ @@ -67,6 +68,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