compass.parallel.set_cores_per_node

compass.parallel.set_cores_per_node(config)[source]

If the system has Slurm, find out the cpus_per_node and set the config option accordingly.

Parameters

config (compass.config.CompassConfigParser) – Configuration options