NAME
MMPPIIFFiilleeccaalllleerrrrhhaannddlleerr - Passes the supplied error code to the error
handler assigned to a file SSYYNNTTAAXX CC SSyynnttaaxx#include
int MPIFilecallerrhandler(MPIFile fh, int errorcode) FFoorrttrraann SSyynnttaaxx INCLUDE 'mpif.h'MPIFILECALLERRHANDLER(FH, ERRORCODE, IERROR)
INTEGER FH, IERRORCODE, IERROR
CC++++ SSyynnttaaxx#include
void MPI::File::Callerrhandler(int errorcode) const IINNPPUUTT PPAARRAAMMEETTEERRSS fh file with error handler (handle). errorcode MPI error code (integer). OOUUTTPPUUTT PPAARRAAMMEETTEERRIERROR Fortran only: Error status (integer).
DESCRIPTION
This function invokes the error handler assigned to the file handle fhwith the supplied error code errorcode. If the error handler was suc-
cessfully called, the process is not aborted, and the error handler returns, this function returns MPISUCCESS. Unlike errors on communicators and windows, the default errorhandlerfor files is MPIERRORSRETURN.
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
MPIFilecreateerrhandler MPIFileseterrhandler Open MPI 1.2 September 200M6PIFilecallerrhandler(3OpenMPI)