Skip to content

Slurm Exit Codes

Slurm Workload Manager

My Job Failed. What Do these Exit Codes Mean?

Slurm records error codes in the form of numerical values that seem rather cryptic. While we don’t always know for sure why they’re caused without investigation, some causes are more likely than others. Exit codes usually consist of 2 sets of numbers (one before a colon and one after) or a single number. Common error codes and their likely causes are below:

Exit Code Likely Cause
0 The job ran successfully
Any non-zero value The job failed in some form or another
1 A general failure
2 Something was wrong with a shell command in the script
3 and above Job error associated with software commands (check software specific exit codes)
0:9 The job was cancelled (usually the user or Slurm/System)
0:15 The job was cancelled (usually because the user cancelled the job, or it ran over specified walltime)
0:53 Some file or directory referenced in the script was not readable or writable
0:125 Job ran out of memory

Anything else

Contact arcc-help@uwyo.edu to have us investigate

** you can also run sacct --help

To get a comprehensive list of flags available to run with the sacct command