Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.

hopla.pbs.DelayedPbsJob

class hopla.pbs.DelayedPbsJob(delayed_submission, executor, job_id)[source]

Bases: DelayedJob

Represents a job that have been queue for submission by an executor, but hasn’t yet been scheduled.

Parameters:
delayed_submission: DelayedSubmission

a delayed submission allowing to generate the command line to execute.

executor: Executor

base job executor.

job_id: str

the job identifier.

__init__(delayed_submission, executor, job_id)[source]
generate_batch()[source]

Write the batch file.

read_jobid(string)[source]

Return the started job ID.

property start_command

Return the start job command.

property stop_command

Return the stop job command.