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

Best targets #657

Merged
merged 4 commits into from Apr 3, 2024
Merged

Best targets #657

merged 4 commits into from Apr 3, 2024

Conversation

bgoglin
Copy link
Contributor

@bgoglin bgoglin commented Mar 21, 2024

Improve --best-memattr in hwloc-calc/bind/info as discussed in #652
The API could be extended as well but it's not strictly required here yet. Maybe once this has been confirmed to help.

--best-memattr was very strict when selecting best nodes.
The node had to be the best for the entire input CPUs.
On a dual-socket machine with HBM in each socket, each HBM
is the best local but not the best remote. Hence we'd report
no best for the entire machine.

Now we return both HBM for the entire machine by default,
but may go back to the previous behavior by adding ",strict"
after the attribute name.

Adding ",default" also allows to return all nodes if no best
was found (if no attribute values are found).

Thanks to Antoine Morvan for the report.

Refs open-mpi#652

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
With support for best-node flags etc.

Refs open-mpi#652

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Not used by hwloc-bind anymore.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
@bgoglin bgoglin merged commit e7d9fa1 into open-mpi:master Apr 3, 2024
1 check passed
@bgoglin bgoglin deleted the best-targets branch April 3, 2024 08:53
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.

None yet

1 participant