forked from open-mpi/hwloc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils/calc+info: rework --best-memattr to allow multiple nodes
--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. Closes open-mpi#652 Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
5 changed files
with
190 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.