compass.parallel.set_cores_per_node¶
- compass.parallel.set_cores_per_node(config)[source]¶
If the system has Slurm, find out the
cpus_per_nodeand set the config option accordingly.- Parameters
config (compass.config.CompassConfigParser) – Configuration options