polaris.e3sm.init.graph_partition.GraphPartitionStep.constrain_resources

GraphPartitionStep.constrain_resources(available_resources)[source]

Take the number of partitions to build at once from the config.

Parameters:

available_resources (dict) – The resources available to the step.