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 expecting7or42or whatever your heart desires. she said1and2and she meant it. π
See also π«Ά
(the friend group! go read them, they're all part of the same iconic ensemble π)
π Copyright π
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
- 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