17.2.376. MPI_T_event_get_source
MPI_T_event_get_source — Returns the index of the source of the event instance
17.2.376.1. SYNTAX
17.2.376.1.1. C Syntax
int MPI_T_event_get_source(MPI_T_event_instance event_instance, int*
source_index)
17.2.376.2. INPUT PARAMETERS
event_instance
: Event instance provided to the callback function
17.2.376.3. OUTPUT PARAMETERS
source_index
: Index identifying the source
17.2.376.4. DESCRIPTION
MPI_T_event_get_source returns the index of the source of event_instance
.
17.2.376.5. ERRORS
MPI_T_event_get_source will fail if:
MPI_T_ERR_NOT_INITIALIZED
: The MPI Tools interface not initializedMPI_T_ERR_INVALID_INDEX
: The handle is invalidMPI_T_ERR_INVALID
: Invalid use of the interface or bad parameter values(s)MPI_ERR_OTHER
: Other error