qtoolkit.io.pbs_base module#
- class qtoolkit.io.pbs_base.PBSIOBase[source]#
Bases:
BaseSchedulerIO,ABCAbstract class for PBS and SGE schedulers.
- CANCEL_CMD: str | None = 'qdel'#
- SUBMIT_CMD: str | None = 'qsub'#
- default_unit: str#
- abstractmethod extract_job_id(stdout: str) str | None[source]#
Extract the job ID from the submission output.
- abstractmethod extract_job_id_from_cancel(stderr: str) str | None[source]#
Extract the job ID from the cancellation output.
- header_template: str#
- header_template_file: str | None = None#
- job_id_regex: str | None = '^\\d+\\.[\\w.-]+(\\[\\d+(-\\d+)?(,\\d+)*\\])?$'#
- parse_cancel_output(exit_code: int, stdout: str | bytes, stderr: str | bytes) CancelResult[source]#
Parse the output of the qdel command.
- parse_submit_output(exit_code: int, stdout: str | bytes, stderr: str | bytes) SubmissionResult[source]#
Parse the output of the qsub command.
- power_labels: ClassVar[dict]#
- 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.
- system_name: str#