MPI, short for Message Passing Interface, is a library that allows you to write parallel programs in Fortran77 or C. The library uses common operating system services to exchange information among the parallel processes it creates.
This method invokes the error handler assigned to the file with the given error code.
int MPI_File_call_errhandler(MPI_File fh, int errorcode)
fh
is the MPI file with the error handler.errorcode
is the error code supplied to the file’s error handler.If unsuccessful, the function returns an error. The error aborts the MPI job by default.
MPI_File_call_errhandler
returns MPI_SUCCESS
, the value returned upon successful termination of any MPI routine.MPI_ERR_FILE
.Free Resources