table of contents
| PMIX_LOAD_PROCID(3) | OpenPMIx | PMIX_LOAD_PROCID(3) |
PMIx_Load_procid — Populate a pmix_proc_t(5) <#man5-pmix-proc-t> with a namespace and rank
SYNOPSIS¶
#include <pmix.h> void PMIx_Load_procid(pmix_proc_t *p,
const char *ns,
pmix_rank_t rk);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- p: Pointer to the pmix_proc_t(5) <#man5-pmix-proc-t> structure to be populated. The storage must already exist — it is supplied by the caller.
- ns: Pointer to a NULL-terminated namespace string to load into the structure’s nspace field. May be NULL.
- rk: The pmix_rank_t(5) <#man5-pmix-rank-t> value to store in the structure’s rank field.
DESCRIPTION¶
Populate the fields of a pmix_proc_t <#man5-pmix-proc-t> process identifier. The nspace field is loaded from ns using the same semantics as PMIx_Load_nspace(3) <#man3-pmix-load-nspace>: the field is first cleared, then up to PMIX_MAX_NSLEN characters are copied from ns (or the field is left empty if ns is NULL). The rank field is then set to rk.
Unlike PMIx_Proc_load(3) <#man3-pmix-proc-load>, which first constructs the structure (setting the rank to PMIX_RANK_UNDEF) before loading, this routine writes only the nspace and rank fields directly.
RETURN VALUE¶
PMIx_Load_procid returns no value (void).
NOTES¶
PMIx_Load_procid is an OpenPMIx convenience routine and is the backing implementation of the PMIX_LOAD_PROCID macro.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| November 21, 2026 |