shist¶
Slurm job history: save/load names and IDs of submitted jobs
-
pyssub.shist.
load
(filename)¶ Load Slurm jobs from disk.
Load names and IDs of submitted Slurm jobs from disk.
Parameters: filename (str) – Path to input file Returns: Mapping of job names to job IDs Return type: dict(str, int)
-
pyssub.shist.
save
(filename, jobs)¶ Save Slurm jobs to disk.
Save names and IDs of submitted Slurm jobs to disk.
Parameters: - filename (str) – Path to output file
- jobs (dict(str, int)) – Mapping of job names to job IDs