polaris.tasks.e3sm.init.topo.combine.CombineStep.constrain_resources

CombineStep.constrain_resources(available_resources)[source]

Constrain cpus_per_task and ntasks based on the number of cores available to this step

Parameters:

available_resources (dict) – The total number of cores available to the step