10.5. Error Classes, Error Codes, and Error Handlers

PreviousUpNext
Up: MPI Environmental Management Next: User-Defined Error Classes and Codes Previous: Error Codes and Classes

Users may want to write a layered library on top of an existing MPI implementation, and this library may have its own set of error codes and classes. An example of such a library is an I/O library based on MPI, see Chapter I/O. For this purpose, functions are needed to:

    1. add a new error class and remove previously added user-defined error classes;
    2. associate error codes with this error class, so that MPI_ERROR_CLASS works;
    3. associate strings with these error codes, so that MPI_ERROR_STRING works;
    4. remove such associations;
    5. invoke the error handler associated with a communicator, window, file, or session object.
Several procedures are provided to do this. They are all local.


PreviousUpNext
Up: MPI Environmental Management Next: User-Defined Error Classes and Codes Previous: Error Codes and Classes


Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023