I used to configure Postfix on the head node. All compute nodes are then configured to use the head node as a relay.
On Thu, Dec 5, 2024, 1:14 AM Kevin Buckley via slurm-users < slurm-users@lists.schedmd.com> wrote:
On 2024/12/05 05:37, Daniel Miliate via slurm-users wrote:
I'm trying to send myself an email notification with a custom
body/subject
for notification of important events. Is this possible? I've tried a few things in the script below.
The bits you may have missed:
The emails that Slurm sends out, controlled by the SBATCH directives, are not send from the node on which the jobs runs, but from the controller, which will typically have been given a mail configuration that allows it to do so.
In order to send email from a job, you would need to ensure that all of your compute nodes can send email to the required destinations.
Onee way to test mail from your compute nodes would be to salloc an interactive session, and see if you can run your mail/mailx commands, from the command line, on the node you get allocated.
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com