MPI_T_PVAR_STOP(3)

πŸ“¦
version 5.0.10 Β· 4 versions
, in ubuntu stonking

πŸ’… 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