Whamcloud - gitweb
- put the exit(1)s back in after MPI_Abort() in the hopes that MPI
authorzab <zab>
Wed, 7 Apr 2004 17:31:23 +0000 (17:31 +0000)
committerzab <zab>
Wed, 7 Apr 2004 17:31:23 +0000 (17:31 +0000)
  implementations which don't exit in MPI_Abort() will honor the exit(1)s.

lustre/tests/write_append_truncate.c
lustre/tests/write_disjoint.c

index 7bfb121..d977b89 100644 (file)
@@ -60,6 +60,7 @@ void rprintf(int rank, int loop, const char *fmt, ...)
         vprintf(fmt, ap);
 
         MPI_Abort(MPI_COMM_WORLD, 1);
+        exit(1); /* shouldn't be needed, but some MPI_Abort()s are broken */
 }
 
 int main(int argc, char *argv[])
index c9ffae6..0be27e9 100644 (file)
@@ -37,6 +37,7 @@ void rprintf(int rank, int loop, const char *fmt, ...)
         vprintf(fmt, ap);
  
         MPI_Abort(MPI_COMM_WORLD, 1);
+        exit(1); /* shouldn't be needed, but some MPI_Abort()s are broken */
 }
 
 int main (int argc, char *argv[]) {