The constants MPI_ERRORS_ARE_FATAL, MPI_ERRORS_RETURN are available as MPI.ERRORS_ARE_FATAL, MPI.ERRORS_RETURN.
If the effective error handler is MPI_ERRORS_RETURN, the wrapper codes will throw appropriate Java exceptions (see section 7.3).
Currently mpiJava omits an interface for creating new MPI error handlers (the detailed interface of the handler function depends on unstandardized features of the MPI implementation).
static void Comm.Errorhandler_set(Errhandler errhandler)
errhandler | new MPI error handler for communicator |
static Errhandler Comm.Errorhandler_get()
returns: | MPI error handler currently associated with communicator |