using-slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
using-slurm [2015/03/26 10:16] – aorth | using-slurm [2016/03/08 08:42] – [Receive mail notifications] joguya | ||
---|---|---|---|
Line 66: | Line 66: | ||
==== Check queue status ==== | ==== Check queue status ==== | ||
< | < | ||
+ | |||
+ | ==== Receive mail notifications ==== | ||
+ | To receive mail notifications about the state of your job, add the following lines to your sbatch script: whereby < | ||
+ | #SBATCH --mail-user < | ||
+ | #SBATCH --mail-type ALL</ | ||
+ | |||
+ | Notification mail types(--mail-type) can be BEGIN, END, FAIL, REQUEUE and ALL(any state change). | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | #SBATCH --mail-user J.Doe@cgiar.org | ||
+ | #SBATCH --mail-type ALL</ | ||
+ |
using-slurm.txt · Last modified: 2022/11/03 11:38 by jean-baka