Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove warning with mc
[simgrid.git] / teshsuite / smpi / mpich3-test / coll / redscatbkinter.c
index bf5f65f..5810b5b 100644 (file)
@@ -58,6 +58,7 @@ int main( int argc, char **argv )
            fprintf( stderr, "Could not allocate %d ints for sendbuf\n", 
                     sendcount );
            MPI_Abort( MPI_COMM_WORLD, 1 );
+            exit(1);
        }
 
        for (i=0; i<sendcount; i++) {
@@ -68,6 +69,7 @@ int main( int argc, char **argv )
            fprintf( stderr, "Could not allocate %d ints for recvbuf\n", 
                     recvcount );
            MPI_Abort( MPI_COMM_WORLD, 1 );
+            exit(1);
        }
        for (i=0; i<recvcount; i++) {
            recvbuf[i] = (long long)(-i);