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.ccc.CCCInfoWatcher¶
- class hopla.ccc.CCCInfoWatcher(delay_s=60)[source]¶
Bases:
InfoWatcherAn 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.