Purpose
Attaches a new error handler to a communicator.
C synopsis
#include <mpi.h> int MPI_Comm_set_errhandler (MPI_Comm comm, MPI_Errhandler *errhandler);
C++ synopsis
#include mpi.h void MPI::Comm::Set_errhandler(const MPI::Errhandler& errhandler);
FORTRAN synopsis
include 'mpif.h' or use mpi MPI_COMM_SET_ERRHANDLER(INTEGER COMM, INTEGER ERRHANDLER, INTEGER IERROR)
Parameters
Description
This subroutine attaches a new error handler to a communicator. The error handler must be either a predefined error handler, or an error handler created by a call to MPI_COMM_CREATE_ERRHANDLER. The previously-attached error handler is replaced.
Notes
MPI_COMM_SET_ERRHANDLER supersedes MPI_ERRHANDLER_SET.
For information about a predefined error handler for C++, see IBM Parallel Environment for AIX: MPI Programming Guide.
Errors
Related information