MPI_Errhandler_create

--- Creates an MPI-style errorhandler

Input Parameter

function
user defined error handling procedure

Output Parameter

errhandler
MPI error handler (handle)

Notes

The MPI Standard states that an implementation may make the output value (errhandler) simply the address of the function. However, the action of MPI_Errhandler_free makes this impossible, since it is required to set the value of the argument to MPI_ERRHANDLER_NULL. In addition, the actual error handler must remain until all communicators that use it are freed.

Synopsis


#include "mpi.h"
int MPI_Errhandler_create( function, errhandler )
MPI_Handler_function *function;
MPI_Errhandler       *errhandler;

Location: errcreate.c