Scroll to navigation

MPI_TYPE_C2F(3) Library Function Manual MPI_TYPE_C2F(3)

NAME

MPI_Type_c2f - converts MPI_Type to Fortran INTEGER

SYNOPSIS

MPI_Fint MPI_Type_c2f(MPI_Datatype datatype)

INPUT PARAMETERS

datatype

datatype (handle)

DESCRIPTION

MPI_Type_c2f translates a C datatype handle into a Fortran handle to the same datatype. It maps a null handle into a null handle and an invalid handle into an invalid handle.

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.

2026-11-14 MPICH