X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..550e68e2d3bb08b56b4c900ba701e07f38882b19:/teshsuite/smpi/mpich3-test/coll/coll13.c diff --git a/teshsuite/smpi/mpich3-test/coll/coll13.c b/teshsuite/smpi/mpich3-test/coll/coll13.c index 7e5b3c7181..6c0726913d 100644 --- a/teshsuite/smpi/mpich3-test/coll/coll13.c +++ b/teshsuite/smpi/mpich3-test/coll/coll13.c @@ -45,6 +45,7 @@ int main( int argc, char *argv[] ) fprintf(stderr,"Unrecognized argument %s\n", argv[i]); MPI_Abort(MPI_COMM_WORLD,EXIT_FAILURE); + exit(EXIT_FAILURE); } } @@ -52,12 +53,14 @@ int main( int argc, char *argv[] ) if ( !sb ) { perror( "can't allocate send buffer" ); MPI_Abort(MPI_COMM_WORLD,EXIT_FAILURE); + exit(EXIT_FAILURE); } rb = (int *)malloc(size*chunk*sizeof(int)); if ( !rb ) { perror( "can't allocate recv buffer"); free(sb); MPI_Abort(MPI_COMM_WORLD,EXIT_FAILURE); + exit(EXIT_FAILURE); } for ( i=0 ; i < size*chunk ; ++i ) { sb[i] = rank + 1;