enable_mpi_exception_handler#
- caput.util.mpitools.enable_mpi_exception_handler()[source]#
Install an MPI-aware exception handler.
When enabled, the whole MPI job will abort if any MPI process fails. If it’s not enabled, an MPI job will continue until it is killed by the scheduler.
The downside of enabling this is that it can cause slurm job steps and interactive allocations to be ended prematurely, which is annoying when debugging.