Hopla is a lightweight tool for submitting script for computation within a PBS cluster. It basically wraps submission and provide access to logs.
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the gallery for the big picture.
- class hopla.utils.DelayedJob(delayed_submission, executor, job_id)[source]¶
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.
- property done¶
Checks whether the job is finished properly.
- property exitcode¶
Check if the code finished properly.
- property report¶
Generate a report for the submitted job.
- abstract property start_command¶
Return the start job command.
- property status¶
Checks the job status.
- abstract property stop_command¶
Return the stop job command.
Follow us