Scroll to navigation

PMIX_INFO_IS_REQUIRED(3) OpenPMIx PMIX_INFO_IS_REQUIRED(3)

PMIx_Info_is_required — Test whether a pmix_info_t(5) <#man5-pmix-info-t> is marked as required.

SYNOPSIS

#include <pmix.h>
bool PMIx_Info_is_required(const pmix_info_t *p);


Python Syntax

No Python equivalent

INPUT PARAMETERS

•
p: Pointer to the pmix_info_t(5) <#man5-pmix-info-t> structure to test.

DESCRIPTION

Test whether the PMIX_INFO_REQD flag is set in the flags field of the referenced pmix_info_t <#man5-pmix-info-t> structure. A required directive is one that the receiving process is obligated to honor; if it cannot be satisfied, the associated operation is expected to fail rather than proceed while ignoring the directive.

The required flag is applied with PMIx_Info_required(3) <#man3-pmix-info-required> and cleared with PMIx_Info_optional(3) <#man3-pmix-info-optional>.

RETURN VALUE

Returns true if the PMIX_INFO_REQD flag is set in the structure, and false otherwise.

See also:

PMIx_Info_required(3) <#man3-pmix-info-required>, PMIx_Info_optional(3) <#man3-pmix-info-optional>, PMIx_Info_is_optional(3) <#man3-pmix-info-is-optional>, pmix_info_t(5) <#man5-pmix-info-t>


Copyright

2014-2026, OpenPMIx Community

November 5, 2026