Receive 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 for the job from the “cpu” partition):
srun -p cpu -c 1 --mail-type=ALL --mail-user=YOUR-EMAIL-ADDRESS hostname
2) sbatch example:

Please check the “sbatch” example post.