lst_auto_rta.utils.slurm.parse_slurm_job_ID

lst_auto_rta.utils.slurm.parse_slurm_job_ID(slurm_reservations: List[str], slurm_account: str, r0_dl1_job_name: str) List[int][source]

Run squeue to parse job IDs.

Parameters:
  • slurm_reservation (List[str]) – List of slurm reservation where to query jobs

  • slurm_account (str) – Slurm account of the jobs to find

  • r0_dl1_job_name (str) – Name of the r0_dl1 jobs in the configuration

Returns:

List of job IDs.

Return type:

List[int]