SHMEM_INFO_GET_VERSION(3)

πŸ’– SHMEM_INFO_GET_VERSION πŸ’–

okay bestie, gather round, because shmem_info_get_version(3) is literally the little function that tells you which era of the OpenSHMEM standard you're living in. It's a section 3 Open MPI manual page btw, so yes it's a library call, not a command β€” no shell prompt required, tyvm. 🫢


✨ NAME ✨

shmem_info_get_version</p> β€” returns the major and minor version of the library implementation. that's it. that's the whole job. and it does it flawlessly. πŸ’…


🌸 SYNOPSIS 🌸

C or C++ (the classics πŸ’œ)

#include <mpp/shmem.h>

void shmem_info_get_version(int *major, int *minor)

Fortran (yes she also serves Fortran, we stan a bilingual icon 🌈)

include 'mpp/shmem.fh'
SHMEM_INFO_GET_VERSION(MAJOR, MINOR)
INTEGER MAJOR, MINOR

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, shmem_info_get_version() returns the major and minor version of the OpenSHMEM standard that's currently in use. not the version of the library you thought you had, not the version your friend told you about β€” the actual one in play. main character energy fr. πŸ‘‘

and here's the slay part: for any given library implementation, the major and minor version that these calls hand back is consistent with the compile-time constants SHMEM_MAJOR_VERSION and SHMEM_MINOR_VERSION, which are defined in its shmem.h. so like. no cap. they match. it's giving trustworthy. ✨

now for the numbers, because numbers are the moment:

  • the valid major version value is 1
  • the valid minor version value is 2

that's the vibe check on the values, bestie. 1 and 2. memorise it, put it on a sticky note, tattoo it on your forearm, whatever works. πŸŽ€

heads up: those are the values the manpage says are valid, so don't go expecting 7 or 42 or whatever your heart desires. she said 1 and 2 and she meant it. πŸ’€

See also 🫢

(the friend group! go read them, they're all part of the same iconic ensemble πŸ’–)


2003-2026, The Open MPI Community


and that's the whole page, bestie, no notes, she ate and left absolutely no crumbs. πŸ’…βœ¨ this was the Open MPI SHMEM_INFO_GET_VERSION(3) manual page, dated Sep 10, 2026 β€” so yes she's fresh, she's current, and she's still serving 1.2 realness. go forth and query your versions responsibly. mwah. πŸ’–πŸ¦‹πŸŒΈπŸŽ€β­

πŸ“¦ where this page comes from