Slurm Exit Code Reference Sheet
Below is a reference sheet for common slurm job exit codes, their meaning, and common causes.
Generic Exit Codes
Exit Code |
Meaning / Interpretation |
Typical Cause |
|---|---|---|
|
Success |
Job completed normally with no errors. |
|
General failure |
A generic error returned by script or program. |
|
Misuse of shell builtins |
Incorrect script syntax or bad shell command. |
|
Program-specific failure |
Error code returned by application (check program docs). |
|
Reserved by SLURM for out of memory |
Often indicates job was killed for exceeding memory |
|
Cannot execute command |
Program not executable or bad permissions. |
|
Command not found |
Executable not found in PATH. |
|
Invalid argument to exit |
Happens if exit call uses invalid value. |
|
Signal termination |
Job was terminated by a Unix signal; subtract 128 to get signal number |
Signal Termination Codes
Exit Code |
Signal |
Signal Meaning |
|---|---|---|
|
SIGHUP (1) |
Hangup (e.g., shell closed) |
|
SIGINT (2) |
Interrupt (Ctrl-C) |
|
SIGQUIT (3) |
Quit with core dump |
|
SIGILL (4) |
Illegal instruction |
|
SIGABRT (6) |
Abort |
|
SIGFPE (8) |
Floating point exception |
|
SIGKILL (9) |
Job killed |
|
SIGSEGV (11) |
Segmentation fault |
|
SIGTERM (15) |
Termination request |