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

[grid] Fix running the benchmark with a non supported system #351

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

giordano
Copy link
Member

@giordano giordano commented Dec 2, 2024

In certain cases, e.g. when running on a non supported system, attributes like current_partition.processor.num_cpus and current_partition.processor.num_cpus_per_core have value None, which breaks some arithmetic operations, so we use VAR or 1 to give it a "default" value of 1. Note that all these attributes are used to the set the default values of other attributes, but they can all be overridden on the command line.

In certain cases, e.g. when running on a non supported system, attributes like
`current_partition.processor.num_cpus` and
`current_partition.processor.num_cpus_per_core` have value `None`, which breaks
some arithmetic operations, so we use `VAR or 1` to give it a "default" value of
1.  Note that all these attributes are used to the set the default values of
other attributes, but they can all be overridden on the command line.
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