Learn R Programming

Rmpi (version 0.6-9.2)

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

Author

Hao Yu

References

https://www.open-mpi.org/