Commit d68ba88
committed
Call MPI_Abort on unhandled exception
This modifies the code to call `MPI_Abort` if there is an unhandled
exception. Previously it would call `MPI_Finalize`, but this does not
ensure that all other MPI ranks terminate, so the job might hang in the
case of an error.1 parent 4611fbb commit d68ba88
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
| 461 | + | |
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
0 commit comments