Skip to content

Allow PMIx group construct caller to specify the order of the final membership#2303

Merged
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/ord
Nov 5, 2025
Merged

Allow PMIx group construct caller to specify the order of the final membership#2303
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/ord

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Nov 5, 2025

The PMIx_Group_construct API itself is not order sensitive in the provided proc array - i.e., we ignore that order when executing the operation. This allows each caller to provide the proc array in arbitrary order - which is advantageous for most libraries.

However, some users may need us to return a specific order of the procs in the final membership. Allow them to specify the order in a new attribute, This can be specified by individual processes or by namespace (with a wildcard rank). If multiple participants provide this attribute, then the values must match - i.e., the desired final membership order must be identical.

…embership

The PMIx_Group_construct API itself is not order sensitive
in the provided proc array - i.e., we ignore that order when executing the
operation. This allows each caller to provide the proc array in arbitrary
order - which is advantageous for most libraries.

However, some users may need us to return a specific order of the procs in the
final membership. Allow them to specify the order in a new attribute, This can be specified by individual processes
or by namespace (with a wildcard rank). If multiple participants
provide this attribute, then the values must match - i.e., the
desired final membership order must be identical.

Signed-off-by: Ralph Castain <rhc@pmix.org>
@rhc54 rhc54 merged commit e0fbe06 into openpmix:master Nov 5, 2025
17 checks passed
@rhc54 rhc54 deleted the topic/ord branch November 5, 2025 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant