mpi.abort makes a “best attempt" to abort all tasks in a comm.
mpi.abort
mpi.abort(comm = 1)
comm
a communicator number
1 if success. Otherwise 0.
Hao Yu
https://www.open-mpi.org/
mpi.finalize