compass.parallel.set_cores_per_node

compass.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.