Receiving E-mail Notifications of Your Slurm Jobs

You can receive E-mail notifications of your Slurm jobs no matter you submit your jobs using “srun” or “sbatch”.

1) srun example (the example will display the hostname of the compute node allocated from the “cpu” partition):
srun -p cpu -N 1 -c 1 --mail-type=ALL --mail-user=YOUR-EMAIL-ADDRESS hostname
2) sbatch example:

Please check the “sbatch” example post.