Synopsis
MPI_Fint MPI_Errhandler_c2f(MPI_Errhandler errhandler)
Input Parameters
- errhandler
-
MPI error handler (handle)
Description
MPI_Errhandler_c2f translates a C error handler handle into a Fortran error handler handle.
This function is local and available only in C. It maps a null C handle to a null Fortran handle and an invalid C handle to an invalid Fortran handle. With the Fortran mpi module or the deprecated mpif.h include file, the returned Fortran handle is an INTEGER value. With the Fortran mpi_f08 module, the returned handle is a BIND© derived type containing an INTEGER component named MPI_VAL.
Thread and Interrupt Safety
This routine is thread-safe. This means that this routine may be safely used by multiple threads without the need for any user-provided thread locks. However, the routine is not interrupt safe. Typically, this is due to the use of memory allocation routines such as 'malloc' or other non-MPICH runtime routines that are themselves not interrupt-safe.