Scroll to navigation

PMIX_PROC_INFO_T(5) OpenPMIx PMIX_PROC_INFO_T(5)

pmix_proc_info_t — Describes a specific process, including its name, location, and state

SYNTAX

C Syntax

#include <pmix_common.h>
typedef struct pmix_proc_info {

pmix_proc_t proc;
char *hostname;
char *executable_name;
pid_t pid;
int exit_code;
pmix_proc_state_t state; } pmix_proc_info_t;


DESCRIPTION

The pmix_proc_info_t structure defines a set of information about a specific process, including its name, location, and state.

The fields are:

  • proc — The pmix_proc_t(5) <#man5-pmix-proc-t> (namespace and rank) identifying the process.
  • hostname — Name of the host (node) where the process resides.
  • executable_name — Name of the executable the process is running.
  • pid — Operating system process identifier on the host.
  • exit_code — Exit code of the process. Defaults to 0.
  • state — Current pmix_proc_state_t(5) <#man5-pmix-proc-state-t> of the process.

The macro PMIX_PROC_INFO_STATIC_INIT is provided to statically initialize the fields of a pmix_proc_info_t structure. PMIx also provides the PMIx_Proc_info_construct, PMIx_Proc_info_destruct, PMIx_Proc_info_create, and PMIx_Proc_info_free support functions for initializing, releasing, allocating, and freeing these structures.

STATIC INITIALIZER

A statically declared pmix_proc_info_t may be initialized with the PMIX_PROC_INFO_STATIC_INIT macro, which initializes the embedded proc (with rank set to PMIX_RANK_UNDEF), sets hostname and executable_name to NULL and pid and exit_code to 0, and sets state to PMIX_PROC_STATE_UNDEF:

pmix_proc_info_t pinfo = PMIX_PROC_INFO_STATIC_INIT;


See also:

pmix_proc_t(5) <#man5-pmix-proc-t>, pmix_proc_state_t(5) <#man5-pmix-proc-state-t>


Copyright

2014-2026, OpenPMIx Community

November 21, 2026