Why am I not getting job notification emails? How do I make them stop?
The scheduling system used in the Office of Research Computing is able to notify you via email, whenever your job begins, ends, fails or others. What emails you receive, and where you receive them is controlled by some parameters you put in your job script.
How do I set up Job Emails?
If you want to be notified of jobs beginning, ending, or failing etc. you need to set the following parameters:
#SBATCH --mail-user=myemail@example.com
#SBATCH --mail-type=BEGIN,END,FAIL,REQUEUE
Note: You can request any combination of the mail types indicated in the above example or you can request simply: '--mail-type=ALL' for any state change.
Be sure to change "example@example.com" listed above to actually point to your email address.
How do I get them to stop coming?
If you don't want to get notification emails anymore, then you need to remove all of the two lines shown above, or any similar lines, from your job script. It is not enough to simply remove the line that defines the email address, since that means that emails will still be sent, but they will be bounced back to the support inbox.
This is important enough that I'm going to say it again: Simply removing the line that specifies the email address is not enough. You need to remove any lines that start with:
#SBATCH --mail-type=<type>
Last changed on Fri Jul 8 12:05:21 2022