Scroll to navigation

MPI_OP_F2C(3) Library Function Manual MPI_OP_F2C(3)

NAME

MPI_Op_f2c - converts Fortran INTEGER to MPI_Op

SYNOPSIS

MPI_Op MPI_Op_f2c(MPI_Fint op)

INPUT PARAMETERS

op

op (None)

DESCRIPTION

MPI_Op_f2c converts a Fortran operation handle to a C operation handle. If op is a valid Fortran handle, the function returns a valid C handle to the same operation. If op equals MPI_OP_NULL (Fortran value), the function returns a null C handle. If op is an invalid Fortran handle, the function returns an invalid C 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