table of contents
| PMIX_SCOPE_STRING(3) | OpenPMIx | PMIX_SCOPE_STRING(3) |
PMIx_Scope_string — Return the string representation of a pmix_scope_t value.
SYNOPSIS¶
#include <pmix.h> const char* PMIx_Scope_string(pmix_scope_t scope);
INPUT PARAMETERS¶
- •
- scope : A pmix_scope_t data-sharing scope value.
Recognized values map to a human-readable string:
- PMIX_SCOPE_UNDEF — "UNDEFINED"
- PMIX_LOCAL — "SHARE ON LOCAL NODE ONLY"
- PMIX_REMOTE — "SHARE ON REMOTE NODES ONLY"
- PMIX_GLOBAL — "SHARE ACROSS ALL NODES"
- PMIX_INTERNAL — "STORE INTERNALLY"
DESCRIPTION¶
Return a human-readable, statically-allocated string naming the given pmix_scope_t value. The returned string is owned by the library and must not be modified or freed by the caller. An unrecognized value yields the fallback string "UNKNOWN SCOPE".
RETURN VALUE¶
Returns a pointer to a constant, statically-allocated, NUL-terminated string. The pointer remains valid for the lifetime of the process and must not be freed.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| November 5, 2026 |