table of contents
- testing 5.0.2-2
- unstable 5.0.2-2
- experimental 5.1.0~b1-1
| MPI_OP_FROMINT(3) | Library Function Manual | MPI_OP_FROMINT(3) |
NAME¶
MPI_Op_fromint - converts an integer handle to MPI_Op
SYNOPSIS¶
MPI_Op MPI_Op_fromint(int op)
INPUT PARAMETERS¶
op
DESCRIPTION¶
MPI_Op_fromint translates a C integer to the appropriate C operation handle. This function is part of the MPI ABI handle serialization interface, which provides handle conversion without depending on Fortran compiler properties. Only an integer obtained from a previous call to MPI_OP_TOINT may be passed to this function. It is erroneous to pass an integer associated with a handle that has been freed.
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 |