Scroll to navigation

PMIX_CHECK_RANK(3) OpenPMIx PMIX_CHECK_RANK(3)

PMIx_Check_rank — Compare two pmix_rank_t(5) <#man5-pmix-rank-t> values for equality

SYNOPSIS

#include <pmix.h>
bool PMIx_Check_rank(pmix_rank_t a,

pmix_rank_t b);


Python Syntax

No Python equivalent

INPUT PARAMETERS


DESCRIPTION

Compare two ranks for equality, honoring wildcard semantics. The two ranks are considered equal if their values are identical, or if either value is PMIX_RANK_WILDCARD, in which case the wildcard matches any rank.

RETURN VALUE

Returns true if the ranks are equal, or if either rank is PMIX_RANK_WILDCARD; returns false otherwise.

NOTES

PMIx_Check_rank is an OpenPMIx convenience routine and is the backing implementation of the PMIX_CHECK_RANK macro.

See also:

PMIx_Rank_valid(3) <#man3-pmix-rank-valid>, PMIx_Check_procid(3) <#man3-pmix-check-procid>, pmix_rank_t(5) <#man5-pmix-rank-t>


Copyright

2014-2026, OpenPMIx Community

September 27, 2026