Scroll to navigation

MPI_T_CATEGORY_GET_NUM_EVENTS(3) Open MPI MPI_T_CATEGORY_GET_NUM_EVENTS(3)

NAME

MPI_T_category_get_num_events - Query returns the number of event types contained

MPI_T_category_get_num_events — Query returns the number of event types contained in the queried category.

INPUT PARAMETERS

•
cat_index: Index of the category to be queried

OUTPUT PARAMETERS

•
num_events: Number of event types in the category

DESCRIPTION

MPI_T_category_get_num_events can be used to query the number of events contained in the category.

ERRORS

MPI_T_category_get_num_events will fail if:

  • MPI_T_ERR_NOT_INITIALIZED: The MPI Tools interface not initialized
  • MPI_T_ERR_INVALID_INDEX: The category index is invalid

Author

The Open MPI community

Copyright

2003-2026, The Open MPI Community

October 18, 2026