compass.parallel.get_available_parallel_resources

compass.parallel.get_available_parallel_resources(config)[source]

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

Parameters:

config (compass.config.CompassConfigParser) – Configuration options for the test case

Returns:

available_resources (dict) – A dictionary containing available resources (cores, tasks, nodes and cores_per_node)