compass.parallel.get_available_cores_and_nodes

compass.parallel.get_available_cores_and_nodes(config)[source]

Get the number of total cores and nodes available for running steps

Parameters

config (configparser.ConfigParser) – Configuration options for the test case

Returns

  • cores (int) – The number of cores available for running steps

  • nodes (int) – The number of cores available for running steps