mache.parallel.system.SubmissionResolution
- class mache.parallel.system.SubmissionResolution(target: str, requested_nodes: int, effective_nodes: int, adjustment: Literal['exact', 'decrease', 'increase'], honored: bool = True, reason: str | None = None)[source]
Resolved scheduler target and effective node count.
- Variables:
target (str) – The selected queue, partition or QOS, or an empty string if the machine does not define any for this target type.
requested_nodes (int) – The node count the caller asked for.
effective_nodes (int) – The node count after clamping to the selected target’s limits.
adjustment ({'exact', 'decrease', 'increase'}) – How
effective_nodescompares withrequested_nodes.honored (bool) – Whether a requested target was used.
Truewhen no target was requested.reason (str or None) – A human-readable explanation of why a requested target could not be honored, suitable for printing verbatim.
NonewhenhonoredisTrue.
- __init__(target: str, requested_nodes: int, effective_nodes: int, adjustment: Literal['exact', 'decrease', 'increase'], honored: bool = True, reason: str | None = None) None
Methods
__init__(target, requested_nodes, ...[, ...])Attributes
honoredreasontargetrequested_nodeseffective_nodesadjustment