qtoolkit.io.pbs_base module#

class qtoolkit.io.pbs_base.PBSIOBase[source]#

Bases: BaseSchedulerIO, ABC

Abstract class for PBS and SGE schedulers.

CANCEL_CMD: str | None = 'qdel'#
SUBMIT_CMD: str | None = 'qsub'#
default_unit: str#
abstract extract_job_id(stdout)[source]#
abstract extract_job_id_from_cancel(stderr)[source]#
header_template: str#
parse_cancel_output(exit_code, stdout, stderr) CancelResult[source]#

Parse the output of the qdel command.

parse_submit_output(exit_code, stdout, stderr) SubmissionResult[source]#
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#