Skip to content
Snippets Groups Projects
Commit 94019f04 authored by Zach Brown's avatar Zach Brown
Browse files

- put the exit(1)s back in after MPI_Abort() in the hopes that MPI

  implementations which don't exit in MPI_Abort() will honor the exit(1)s.
parent 4cef4816
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,7 @@ void rprintf(int rank, int loop, const char *fmt, ...) ...@@ -60,6 +60,7 @@ void rprintf(int rank, int loop, const char *fmt, ...)
vprintf(fmt, ap); vprintf(fmt, ap);
MPI_Abort(MPI_COMM_WORLD, 1); 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[]) int main(int argc, char *argv[])
......
...@@ -37,6 +37,7 @@ void rprintf(int rank, int loop, const char *fmt, ...) ...@@ -37,6 +37,7 @@ void rprintf(int rank, int loop, const char *fmt, ...)
vprintf(fmt, ap); vprintf(fmt, ap);
MPI_Abort(MPI_COMM_WORLD, 1); 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[]) { int main (int argc, char *argv[]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment