mpi.comm.set.errhandler
sets a communicator to MPI\_ERRORS\_RETURN
instead of
MPI\_ERRORS\_ARE\_FATAL (default) which crashes R on any type of MPI errors.
Almost all MPI API calls return errcodes which can map to specific MPI error
messages. All MPI related error messages come from predefined
MPI\_Error\_string.
mpi.comm.set.errhandler(comm = 1)
a communicator number
1 if success. Otherwise 0.