MPI_T_PVAR_START(3)

πŸ’– MPI_T_PVAR_START πŸ’–

okay bestie, gather round, because we're about to talk about the Open MPI manual β€” performance variables, to be exact. This little page covers two functions that are literally a matched set: MPI_T_pvar_start and MPI_T_pvar_stop. They do exactly what they sound like. Start. Stop. Iconic behaviour, no notes. ✨


🌸 SYNOPSIS 🌸

✨ 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. two lines. that's the whole vibe. πŸŽ€


🫢 INPUT PARAMETERS 🫢

  • session β€” the performance experiment session, aka the whole situation your performance variable is living in. πŸ’…
  • handle β€” the performance variable handle. it's giving "which one tho". πŸ¦‹

πŸ‘‘ DESCRIPTION πŸ‘‘

MPI_T_pvar_start starts the performance variable with the handle specified in handle. and here's the slay: you can pass the special value MPI_T_PVAR_ALL_HANDLES in handle to start all the non-continuous handles in the session specified in session. one call, every handle, main character energy fr fr. πŸ”₯

MPI_T_pvar_stop stops the performance variable with the handle specified in handle. same deal β€” the special value MPI_T_PVAR_ALL_HANDLES can be passed in handle to stop all the non-continuous handles in the session specified in session. πŸ’œ

⚠️ okay important, no cap: continuous performance variables can neither be started nor stopped. they're just out here living their continuous truth and you cannot touch that. periodt. πŸ’€

😭 ERRORS 😭

MPI_T_pvar_start and MPI_T_pvar_stop() will fail if:

  • MPI_T_ERR_NOT_INITIALIZED β€” the MPI Tools interface isn't initialized. like, bestie, we haven't even started. πŸ™ˆ
  • MPI_T_ERR_INVALID_SESSION β€” the session parameter is not a valid session. fake session, blocked. 🚫
  • MPI_T_ERR_INVALID_HANDLE β€” invalid handle, or a handle that isn't associated with the session. wrong handle for the wrong room ngl. 😭
  • MPI_T_ERR_PVAR_NO_STARTSTOP β€” the variable cannot be started or stopped. it said "no". πŸ’…

🌈 SEE ALSO 🌈

  • MPI_T_pvar_get_info β€” go get the info on your pvar, you deserve to know. 🧚

and that's the page!! copyright goes to 2003-2026, The Open MPI Community, this was the Open MPI manual page, and it was dated Sep 10, 2026. stay hydrated, read your man pages, and go start (and stop) some performance variables responsibly. mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from