mpi.comm.set.errhandler: MPI_Comm_set_errhandler API

View source: R/Rcomm.R

mpi.comm.set.errhandlerR Documentation

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.

Author(s)

Hao Yu

References

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


Rmpi documentation built on Sept. 23, 2024, 5:09 p.m.