MPI_T_CATEGORY_GET_CVARS(3)

πŸ’… MPI_T_CATEGORY_GET_CVARS πŸ’…

okay so bestie, welcome to the Open MPI manual page for MPI_T_category_get_cvars β€” yes the whole entire title, we're not abbreviating, this is her full government name ✨

🌸 NAME 🌸

MPI_T_category_get_cvars β€” the little function that tells you which control variables are chilling inside a category 🫢

πŸ¦‹ SYNTAX πŸ¦‹

C Syntax

#include <mpi.h>

int MPI_T_category_get_cvars(int cat_index, int len, int indices[])

like, that's the whole vibe, that's the signature, no notes πŸ’…

πŸŽ€ INPUT PARAMETERS πŸŽ€

  • cat_index β€” the index of the category you're curious about, aka "which category are we snooping in bestie" πŸ‘€
  • len β€” the length of the indices array. yes, you gotta tell her how big your array is, she's not a mind reader 😭

✨ OUTPUT PARAMETERS ✨

  • indices β€” an integer array of size len, and it's giving "here are your control variable indices, you're welcome" 🎁

πŸ”₯ DESCRIPTION πŸ”₯

so MPI_T_category_get_cvars is literally the function you call to query which control variables are contained in a particular category. that's it. that's the whole plot. no cap πŸ’€

πŸ’€ ERRORS πŸ’€

MPI_T_category_get_cvars will fail if:

  • MPI_T_ERR_NOT_INITIALIZED β€” the MPI Tools interface isn't initialized, like girl you gotta set things up first πŸ™ˆ
  • MPI_T_ERR_INVALID_INDEX β€” the category index is invalid, meaning that index does not exist, bestie, it's a fake number 😭

2003-2026, The Open MPI Community


okay that's the whole page, ily, go query those categories responsibly πŸ§šπŸ’œ β€” this has been page MPI_T_CATEGORY_GET_CVARS(3) from the Open MPI manual, dated Sep 11, 2026, mwah πŸ’‹

πŸ“¦ where this page comes from