MPI_T_PVAR_STOP(3)
π MPI_T_PVAR_STOP(3) β the Open MPI manual, but make it cute
okay bestie, welcome to the Open MPI glow-up of MPI_T_pvar_start / MPI_T_pvar_stop β¨ this is the page that tells you how to start and stop a performance variable. yes, that's literally the whole vibe. let's get into it π«Ά
πΈ NAME πΈ
MPI_T_pvar_start, MPI_T_pvar_stop β start/stop a performance variable, no cap π
β¨ 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, just look at those signatures. so clean. so iconic. π
π¦ INPUT PARAMETERS π¦
sessionβ the performance experiment session, i.e. the group chat your variable lives in π¬handleβ the performance variable handle, i.e. the @ of the variable you're talking to
π DESCRIPTION π
okay so MPI_T_pvar_start starts the performance variable that matches the handle you passed in. and here's the fun part β you can pass the special value MPI_T_PVAR_ALL_HANDLES in handle and it'll start all the non-continuous handles in the session you specified. batch starting, main character energy, obsessed π₯
MPI_T_pvar_stop stops the performance variable with the handle you specified. and same deal β you can pass the special value MPI_T_PVAR_ALL_HANDLES in handle to stop all the non-continuous handles in the session you specified. so efficient. so demure. π
β οΈ real talk though: continuous performance variables can neither be started nor stopped. it's not a skill issue, it's just not a thing. they do their own thing. respect it π
π₯ ERRORS π₯
MPI_T_pvar_start and MPI_T_pvar_stop() will fail if any of these little gremlins show up:
MPI_T_ERR_NOT_INITIALIZEDβ the MPI Tools interface isn't initialized π like bestie, you gotta init firstMPI_T_ERR_INVALID_SESSIONβ thesessionparameter is not a valid session π that's not a real session, that's a strangerMPI_T_ERR_INVALID_HANDLEβ invalid handle, or a handle that's not associated with the session π mismatched, awkward, we've all been thereMPI_T_ERR_PVAR_NO_STARTSTOPβ the variable cannot be started or stopped π« it's giving "continuous variable, read the DESCRIPTION section"
π SEE ALSO π
MPI_T_pvar_get_infoβ go get the info, iykyk β
π COPYRIGHT π
2003-2026, The Open MPI Community πΈ
k that's the whole page bestie, you're officially an expert on starting and stopping performance variables πβ¨π
~ with love, from the Open MPI gang, dated Sep 11, 2026 (yes the footer said that, I would never lie to you) π
π¦ where this page comes from
- arch rolling: openmpi 5.0.11-1 Β· BSD-3-Clause AND LicenseRef-MPICH
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms