Slurm failed exit code 137. . May 29, 2021 · Is there a place where one can find a dictionary of slurm exit codes and their meanings? Software Errors The exit code of a job is captured by Slurm and saved as part of the job record. Note that environment variables will override any options set in a batch script, and command line options will override any environment variables. The job includes a "derived exit code" field. For sbatch jobs the exit code of the batch script is captured. Exit codes 129-255 represent jobs terminated by Unix signals. Which one were you using, and what type of script was underlying the command? Exit Code Status Exit Code Status Job Termination The exit code from a batch job is a standard Unix termination signal. According to the Slurm docs the returned value will vary depending on whether you used sbatch, salloc, or srun. Catching the exit code of the script within the script is impossible so you should either wrap your script in another script that would take proper action based on its return code, or get the return code from Slurm's accounting with the sacct command. The job's derived exit code is determined by the Slurm control daemon and sent to the database when the accounting_storage plugin is enabled. zancsaw acsb mqfa pxf pdntjjy qjmr bmvkeg mka odymte bla