polaris.parallel.set_cores_per_node
- polaris.parallel.set_cores_per_node(config, cores_per_node)[source]
If the system has Slurm, find out the
cpus_per_node
and set the config option accordingly.- Parameters:
config (polaris.config.PolarisConfigParser) – Configuration options