mpi.comm.set.errhandler: MPI_Comm_set_errhandler API
Description
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.
Usage
mpi.comm.set.errhandler(comm = 1)
Value
1 if success. Otherwise 0.
Arguments
- comm
a communicator number