MPI_ERRHANDLER_SET(3)MPI_ERRHANDLER_SET(3)NAMEMPI_Errhandler_set - Sets the error handler for a communicator
SYNOPSIS
C:
#include <mpi.h>
int MPI_Errhandler_set( comm, errhandler )
MPI_Comm comm;
MPI_Errhandler errhandler;
C++:
#include <mpi.h>
void Comm::Set_errhandler(
const Errhandler& errhandler)
Fortran:
INCLUDE "mpif.h" (or USE MPI)
INTEGER comm, errhandler, ierror
CALL MPI_ERRHANDLER_SET(comm, errhandler, ierror)
STANDARDS
This release implements the MPI 1.2 standard, as documented by the MPI
Forum in the spring 1997 release of MPI: A Message Passing Interface
Standard.
DESCRIPTION
The MPI_Errhandler_set routine sets the error handler for a communicator.
This routine accepts the following parameters:
comm Specifies the communicator for which to set the error
handler (handle)
errhandler Returns a new MPI error handler for comm (handle)
ierror Specifies the return code value for successful completion,
which is in MPI_SUCCESS. MPI_SUCCESS is defined in the
mpif.h file.
Page 1