MPI_T_CATEGORY_GET_NUM(3)

MPI_T_CATEGORY_GET_NUM(3) πŸ’…

okay so welcome to the Open MPI manual, bestie. this is the page for MPI_T_category_get_num, and it's literally about counting categories. no cap. ✨

NAME πŸŽ€

MPI_T_category_get_num β€” query the number of categories

SYNTAX πŸ¦‹

C Syntax

#include <mpi.h>

int MPI_T_category_get_num(int *num_cat)

OUTPUT PARAMETERS πŸ’–

  • num_cat β€” current number of categories. that's the count you're getting back, periodt.

DESCRIPTION 🌸

MPI_T_category_get_num can be used to query the current number of categories. it's giving β€œjust tell me how many categories there are” energy, and honestly? iconic. πŸ’…

ERRORS πŸ’€

MPI_T_category_get_num will fail if:

  • MPI_T_ERR_NOT_INITIALIZED β€” The MPI Tools interface not initialized. like, bestie, that's the error vibe check it's failing, fr fr.

2003-2026, The Open MPI Community


that's the whole manual page! brought to you by Open MPI, dated Sep 11, 2026 β€” mwah πŸ’‹

πŸ“¦ where this page comes from