17.2.373. MPI_T_event_get_source

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

17.2.373.1. SYNTAX

17.2.373.1.1. C Syntax

#include <mpi.h>

int MPI_T_event_get_source(MPI_T_event_instance event_instance, int *source_index)

17.2.373.2. INPUT PARAMETERS

  • event_instance: Event instance provided to the callback function

17.2.373.3. OUTPUT PARAMETERS

  • source_index: Index identifying the source

17.2.373.4. DESCRIPTION

MPI_T_event_get_source returns the index of the source of event_instance.

17.2.373.5. 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