Scroll to navigation

PMIX_GET_VERSION(3) OpenPMIx PMIX_GET_VERSION(3)

PMIx_Get_version — Return the PMIx version string.

SYNOPSIS

#include <pmix.h>
const char* PMIx_Get_version(void);


Python Syntax

from pmix import *
foo = PMIxClient()
version = foo.get_version()


DESCRIPTION

Return the PMIx version string identifying the PMIx library in use.

PMIx_Get_version may be called outside of the initialized and finalized region — it does not require a prior call to PMIx_Init(3) <#man3-pmix-init> — and is usable by servers and tools in addition to clients.

Note:

The returned string is statically defined within the PMIx library and must not be modified or freed by the caller.


RETURN VALUE

Returns a pointer to a statically allocated, NULL-terminated string containing the PMIx version information. The function takes no arguments and always returns a valid, non-NULL pointer.

NOTES

Because the returned string is owned by the library, callers must never pass it to free().

See also:

PMIx_Init(3) <#man3-pmix-init>, PMIx_Error_string(3) <#man3-pmix-error-string>, PMIx_Error_code(3) <#man3-pmix-error-code>


Copyright

2014-2026, OpenPMIx Community

October 5, 2026