Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair the binding algorithm #6

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

hppritcha
Copy link
Member

If we use one cpu from an object, then we will get a NULL response if we ask for the next object of that type within the remaining cpuset since not all of the cpus in the object are still available. This problem resulted from the recent change to only use available cpus in PRRTE topologies.

So instead scan across the cpus, check to see if it is inside the object of interest - if so, then we can bind to that cpu, if not then we keep searching.

If we use one cpu from an object, then we will get a NULL
response if we ask for the next object of that type within
the remaining cpuset since not all of the cpus in the object
are still available. This problem resulted from the recent
change to only use available cpus in PRRTE topologies.

So instead scan across the cpus, check to see if it is
inside the object of interest - if so, then we can bind
to that cpu, if not then we keep searching.

Signed-off-by: Ralph Castain <rhc@pmix.org>
@hppritcha
Copy link
Member Author

we need this to apply openpmix@5d21059 cleanly to our fork

@hppritcha hppritcha requested a review from wenduwan July 12, 2024 17:22
Copy link

@wenduwan wenduwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Howard

@hppritcha hppritcha merged commit 039aeea into open-mpi:master Jul 12, 2024
11 checks passed
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.

3 participants