Rmpi (version 0.6-9)

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)

Arguments

comm

a communicator number

Value

1 if success. Otherwise 0.

References

http://www.openmpi.org/