qtoolkit.io.pbs module#
- class qtoolkit.io.pbs.PBSIO[source]#
Bases:
BaseSchedulerIO
- CANCEL_CMD: str | None = 'qdel'#
- SUBMIT_CMD: str | None = 'qsub'#
- header_template: str = '\n#PBS -q $${queue}\n#PBS -N $${job_name}\n#PBS -A $${account}\n#PBS -l $${select}\n#PBS -l walltime=$${walltime}\n#PBS -l model=$${model}\n#PBS -l place=$${place}\n#PBS -W group_list=$${group_list}\n#PBS -M $${mail_user}\n#PBS -m $${mail_type}\n#PBS -o $${qout_path}\n#PBS -e $${qerr_path}\n#PBS -p $${priority}\n#PBS -r $${rerunnable}\n#PBS -J $${array}\n$${qverbatim}'#
- parse_cancel_output(exit_code, stdout, stderr) CancelResult [source]#
Parse the output of the scancel command.
- parse_submit_output(exit_code, stdout, stderr) SubmissionResult [source]#
- property supported_qresources_keys: list#
List of attributes of QResources that are correctly handled by the _convert_qresources method. It is used to validate that the user does not pass an unsupported value, expecting to have an effect.
- class qtoolkit.io.pbs.PBSState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
QSubState
- ARRAY_FINISHED = 'X'#
- ARRAY_RUNNING = 'B'#
- EXITING = 'E'#
- FINISHED = 'F'#
- HELD = 'H'#
- MOVED = 'M'#
- QUEUED = 'Q'#
- RUNNING = 'R'#
- SUSPENDED = 'S'#
- SUSPENDED_KEYBOARD = 'U'#
- TRANSITING = 'T'#
- WAITING = 'W'#