Scroll to navigation

MPI_T_EVENT_GET_SOURCE(3) Open MPI MPI_T_EVENT_GET_SOURCE(3)

NAME

MPI_T_event_get_source - Returns the index of the source of the event instance

MPI_T_event_get_source — Returns the index of the source of the event instance

SYNTAX

C Syntax

int MPI_T_event_get_source(MPI_T_event_instance event_instance, int*

source_index)


INPUT PARAMETERS

•
event_instance: Event instance provided to the callback function

OUTPUT PARAMETERS

•
source_index: Index identifying the source

DESCRIPTION

MPI_T_event_get_source returns the index of the source of event_instance.

ERRORS

MPI_T_event_get_source will fail if:

  • MPI_T_ERR_NOT_INITIALIZED: The MPI Tools interface not initialized
  • MPI_T_ERR_INVALID_INDEX: The handle is invalid
  • MPI_T_ERR_INVALID: Invalid use of the interface or bad parameter values(s)
  • MPI_ERR_OTHER: Other error

See also:

  • MPI_T_Events <#mpi-t-events>
  • MPI_T <#mpi-t>



Author

The Open MPI community

Copyright

2003-2026, The Open MPI Community

October 13, 2026