MPI_T_PVAR_STOP(3)
π MPI_T_PVAR_STOP(3) β the Open MPI glow-up
ok so bestie, welcome to the Open MPI corner of the internet, where we do performance variables and we do them correctly. this page is about MPI_T_pvar_start and MPI_T_pvar_stop β the little duo that turns your performance variables on and off. it's giving power switch energy β‘ and honestly? iconic.
β¨ NAME β¨
MPI_T_pvar_start, MPI_T_pvar_stop β start/stop a performance variable π
β¨ SYNTAX β¨
π¦ C Syntax
#include <mpi.h>
int MPI_T_pvar_start(MPI_T_pvar_session session, MPI_T_pvar_handle handle)
int MPI_T_pvar_stop(MPI_T_pvar_session session, MPI_T_pvar_handle handle)
like yes, both functions, same shape, one starts and one stops. no cap π«Ά
β¨ INPUT PARAMETERS β¨
- session β Performance experiment session. this is your lil experiment context, your whole vibe container π
- handle β Performance variable handle. the specific variable you're talking to, bestie π
β¨ DESCRIPTION β¨
okay so MPI_T_pvar_start starts the performance variable with the handle you passed in handle. and here's the fun part β you can pass the special value MPI_T_PVAR_ALL_HANDLES as handle and it will start all the non-continuous handles in the session you gave in session. all of them. at once. slay π₯
MPI_T_pvar_stop does the opposite β it stops the performance variable with the handle in handle. same deal: MPI_T_PVAR_ALL_HANDLES can be passed in handle to stop all the non-continuous handles in the session specified in session. clean, symmetrical, obsessed π
β οΈ real talk though: continuous performance variables can neither be started nor stopped. don't even try it, they're built different and they said no π
β¨ ERRORS β¨
MPI_T_pvar_start and MPI_T_pvar_stop() will fail if:
MPI_T_ERR_NOT_INITIALIZEDβ The MPI Tools interface not initialized. bestie you gotta init first πMPI_T_ERR_INVALID_SESSIONβ Session parameter is not a valid session. that session is not giving what you think it's giving πMPI_T_ERR_INVALID_HANDLEβ Invalid handle or handle not associated with the session. this handle doesn't belong to that session, awkward πMPI_T_ERR_PVAR_NO_STARTSTOPβ The variable cannot be started or stopped. (see: continuous variables, they said no π«)
β¨ SEE ALSO β¨
MPI_T_pvar_get_infoβ go get the deets, iykyk π
π a lil sign-off π
this page is from Open MPI, dated Sep 10, 2026, and the copyright belongs to 2003-2026, The Open MPI Community β full credit to the icons who wrote it π«Άβ¨
stay hydrated, read your man pages, and go start (and stop) some performance variables responsibly πππ¦
π¦ 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