I need to find a JobID in order to manage that job.
–OR–
I’ve been asked by support to give a JobID for a job I’m having an issue with.
How can I find my JobID number?
I need to find a JobID in order to manage that job.
–OR–
I’ve been asked by support to give a JobID for a job I’m having an issue with.
How can I find my JobID number?
All jobs submitted to Slurm on Cheaha are assigned a unique identifier called the JobID or jobid
. Please follow the guide below to find the JobID
sacct
usage, below.srun <flags> --pty /bin/bash
?
echo $SLURM_JOB_ID
.sacct
usage.srun
without --pty
? Use the final bullet point for sacct
usage.sbatch
? The Job ID is printed to the command line automatically on submission.squeue -u $USER
to show all your running jobs.sacct
usage below..
sacct
to find a job.
If you know the date of the job, use the following command at the terminal. The date following -s
is the start date, choose the same day the job was submitted. The following -e
is the end date, choose the day after -s
. You will be provided with a list of jobs run on the -s
day, and can sift through them to find your job.
sacct -u $USER -s YYYY-MM-DD -e YYYY-MM-DD
Otherwise contact Support for assistance.