MPI_T_CATEGORY_GET_PVARS(3)
π MPI_T_CATEGORY_GET_PVARS π
okay bestie, welcome to the Open MPI manual, section 3 π β this one's all about MPI_T_category_get_pvars, and it's giving "let me tell you exactly which performance variables live in this category" energy. no cap. let's get into it π¦
β¨ NAME β¨
MPI_T_category_get_pvars β query which performance variables are in a category π
β¨ SYNTAX β¨
C Syntax
#include <mpi.h>
int MPI_T_category_get_pvars(int cat_index, int len, int indices[])
πΈ INPUT PARAMETERS πΈ
cat_indexβ the index of the category you wanna snoop on πlenβ how long yourindicesarray is, i.e. how much room you're giving it π
π«Ά OUTPUT PARAMETERS π«Ά
indicesβ an integer array of sizelen, and it's gonna be filled with performance variable indices β¨ literally the whole point
π DESCRIPTION π
so, MPI_T_category_get_pvars is the function you call when you wanna know which performance variables are chillin' inside a particular category. that's it. that's the gig π
heads up though: a category can contain zero or more performance variables. so likeβ¦ don't come for her if the answer is "none", bestie π she just reports the truth.
π ERRORS π
MPI_T_category_get_pvars will fail if:
MPI_T_ERR_NOT_INITIALIZEDβ the MPI Tools interface hasn't been initialized yet π girl, you gotta set it up firstMPI_T_ERR_INVALID_INDEXβ the category index is invalid π« that index? not it. not a real one. denied.
real talk: these are the failure modes, and they mean exactly what they say. don't skip the init, don't hand her a bogus cat_index. periodt π
π Copyright π
2003-2026, The Open MPI Community β iconic, protected, and legally unbothered since 2003 π
aaaand that's the whole page, babe π§ the source is Open MPI, and this edition is dated Sep 10, 2026 β so if you're reading the MPI_T_CATEGORY_GET_PVARS(3) page from the future, hey, you're right on time π go query those performance variables, you absolute main character ππ
π¦ where this page comes from
- ubuntu stonking: openmpi-doc 5.0.10-6 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms