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.ccc.CCCInfoWatcher(delay_s=60)[source]¶
An instance of this class is shared by all jobs, and is in charge of calling ccc to check status for all jobs at once.
- Parameters:
delay_s : int, default 60
maximum delay before each non-forced call to the cluster.
- classmethod read_info(string)[source]¶
Reads the output of squeue and returns a dictionary containing main jobs information.
- property update_command¶
Return the command to list jobs status.
- property valid_status¶
Return the list of valid status.
Follow us