NAME
MMPPIICCoommmmccaalllleerrrrhhaannddlleerr - Passes the supplied error code to the error
handler assigned to a communicator SSYYNNTTAAXX CC SSyynnttaaxx#include
int MPICommcallerrhandler(MPIComm comm, int errorcode) FFoorrttrraann SSyynnttaaxx INCLUDE 'mpif.h'MPICOMMCALLERRHANDLER(COMM, ERRORCODE, IERROR)
INTEGER COMM, ERRORCODE, IERROR
CC++++ SSyynnttaaxx#include
void MPI::Comm::Callerrhandler(int errorcode) const IINNPPUUTT PPAARRAAMMEETTEERR comm communicator with error handler (handle). errorcode error code (integer). OOUUTTPPUUTT PPAARRAAMMEETTEERRSSIERROR Fortran only: Error status (integer).
DESCRIPTION
This function invokes the error handler assigned to the communicator comm with the supplied error code errorcode. If the error handler was successfully called, the process is not aborted, and the error handler returns, this function returns MPISUCCESS. NNOOTTEESS Users should note that the default error handler isMPIERRORSAREFATAL. Thus, calling this function will abort the pro-
cesses in comm if the default error handler has not been changed. EERRRROORRSS Almost all MPI routines return an error value; C routines as the valueof the function and Fortran routines in the last argument. C++ func-
tions do not return errors. If the default error handler is set toMPI::ERRORSTHROWEXCEPTIONS, then on error the C++ exception mechanism
will be used to throw an MPI:Exception object. See the MPI man page for a full list of MPI error codes.SEE ALSO
MPICommcreateerrhandler MPICommseterrhandler Open MPI 1.2 September 200M6PICommcallerrhandler(3OpenMPI)