Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[grid] Fix running the benchmark with a non supported system
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.
- Loading branch information