mache.parallel.pbs.PbsOptions
- class mache.parallel.pbs.PbsOptions(queue: str, constraint: str, gpus_per_node: str, max_wallclock: str, filesystems: str, effective_nodes: int, wall_time: str = '', honored: bool = True, reason: str | None = None)[source]
PBS submission options resolved from a machine’s config.
- Variables:
queue (str) – The PBS queue, or an empty string if the machine defines none.
constraint (str) – The constraint, or an empty string if the machine defines none.
gpus_per_node (str) – The number of GPUs per node, or an empty string if not configured.
max_wallclock (str) – The maximum wall clock (
HH:MM:SS) of the selected queue, or an empty string if the queue does not set one.filesystems (str) – The filesystems used for batch jobs, or an empty string if not configured.
effective_nodes (int) – The node count after clamping to the selected queue’s limits.
wall_time (str) – The requested wall time capped at
max_wallclock, or an empty string if no wall time was requested.honored (bool) – Whether every requested target – queue, constraint and
scheduler_target– was used.Truewhen none 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__(queue: str, constraint: str, gpus_per_node: str, max_wallclock: str, filesystems: str, effective_nodes: int, wall_time: str = '', honored: bool = True, reason: str | None = None) None
Methods
__init__(queue, constraint, gpus_per_node, ...)Attributes
honoredreasonwall_timequeueconstraintgpus_per_nodemax_wallclockfilesystemseffective_nodes