next up previous contents
Next: Error codes and classes Up: MPI Environmental Management Previous: Implementation information   Contents

Error handling

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



Associates a new error handler with communicator at the calling process. Java binding of the MPI operation MPI_ERRORHANDLER_SET.

static Errhandler Comm.Errorhandler_get()
returns: MPI error handler currently associated with communicator



Returns the error handler currently associated with the communicator. Java binding of the MPI operation MPI_ERRORHANDLER_GET.



Bryan Carpenter 2002-07-12