Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MPI_Abort can theorically fail. Add a call to exit() to ensure that the program...
[simgrid.git] / teshsuite / smpi / mpich3-test / comm / icsplit.c
index 9ad2d51..ab5aeec 100644 (file)
@@ -28,6 +28,7 @@ int main( int argc, char *argv[] )
     if (size < 4) {
        printf( "This test requires at least 4 processes\n" );
        MPI_Abort( MPI_COMM_WORLD, 1 );
+        exit(1);
     }
 
     while (MTestGetIntercomm( &intercomm, &isLeft, 2 )) {