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 / cmfree.c
index df37772..99e99c1 100644 (file)
@@ -44,6 +44,7 @@ int main( int argc, char *argv[] )
     if (size < 2) {
        fprintf( stderr, "This test requires at least two processes." );
        MPI_Abort( MPI_COMM_WORLD, 1 );
+        exit(1);
     }
 
     source  = 0;