polaris.parallel.get_available_parallel_resources

polaris.parallel.get_available_parallel_resources(config)[source]

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

Parameters:

config (polaris.config.PolarisConfigParser) – Configuration options for the test case

Returns:

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