| MPI_T_ENUM_GET_INFO(3) | Library Function Manual | MPI_T_ENUM_GET_INFO(3) |
NAME¶
MPI_T_enum_get_info - Get the information about an enumeration
SYNOPSIS¶
int MPI_T_enum_get_info(MPI_T_enum enumtype, int *num, char *name,
int *name_len)
INPUT PARAMETERS¶
enumtype
INPUT/OUTPUT PARAMETERS¶
name_len
OUTPUT PARAMETERS¶
num
name
DESCRIPTION¶
MPI_T_enum_get_info queries the number of discrete values and name associated with an enumeration type used in the MPI tool information interface. This routine has local semantics. If enumtype is a valid enumeration, the routine returns the number of items represented by the enumeration in num and the name of the enumeration in name. The enumeration must represent at least one value. The routine is required to return a name of at least length one, and this name must be unique with respect to all other enumeration names used by the MPI implementation.
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.
ERRORS¶
All MPI routines (except 'MPI_Wtime' and 'MPI_Wtick') return an error value; C routines as the value of the function and Fortran routines in the last argument. Before the value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job. The error handler may be changed with 'MPI_Comm_set_errhandler' (for communicators), 'MPI_File_set_errhandler' (for files), and 'MPI_Win_set_errhandler' (for RMA windows). The MPI-1 routine 'MPI_Errhandler_set' may be used but its use is deprecated. The predefined error handler 'MPI_ERRORS_RETURN' may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error; however, MPI implementations will attempt to continue whenever possible.
| 2026-11-14 | MPICH |