Skip to main content

Module error

Module error 

Source
Expand description

Error classes and error handlers (MPI_Errhandler, MPI_ERR_*).

Communicators carry an error handler; the two predefined handlers are ErrorHandler::Fatal (abort the job on error, the MPI default) and ErrorHandler::Return (return the error code to the caller). Because the rest of this implementation reports failures by panicking or via Result, the handler is primarily informational, but the full class vocabulary and set/get API are provided.

Modules§

class
Error classes, mirroring the standard MPI_ERR_* constants.
traits
Re-exports for use mpi::error::traits::*;.

Enums§

ErrorHandler
A communicator error handler (MPI_Errhandler).

Traits§

CommunicatorErrorHandler
Error-handler operations on communicators. Blanket-implemented for every Communicator.

Functions§

error_class
The error class of an error code (MPI_Error_class). Here codes are their own class.
error_string
A human-readable description of an error class (MPI_Error_string).