> 
> I didn't anything. How can I do that?

First - check if mail works. If there is something at /usr/bin/mail? 

On the command line, execute this to see if you are getting any mail:

echo "Your message" | mail -s "Message Subject" email@address


If that works, then the problem is in your SLURM set up. Otherwise, you need a 
Mail Transfer Agent (MTA).

The easiest I've seen on Centos is mailx, although that may be different 
depending on OS - I found this tutorial very helpful, and you only need to do 
about half (stopping just before " Setting Up Alerts for System Monitoring, 
Warnings and Security Alarms").

https://www.digitalocean.com/community/tutorials/how-to-send-e-mail-alerts-on-a-centos-vps-for-system-monitoring
 

Good luck.

Cheers

L.



> 
> -----Mensaje original-----
> De: Eckert, Phil [mailto:[email protected]] Enviado el: viernes, 18 de 
> diciembre de
> 2015 13:35
> Para: slurm-dev
> Asunto: [slurm-dev] Re: How can I send a mail when I finished a job?
> 
> 
> I believe that all that is happening in regard to mail, is that the slurmctld 
> is
> executing the mail utility, with the standard arguments. Is mail set up on 
> the node
> the slurmctld is running on?  A quick test would be to login there and 
> manually
> send yourself email.
> 
> Phil Eckert
> LLNL
> 
> On 12/18/15, 9:42 AM, "Fany Pagés Díaz" <[email protected]> wrote:
> 
> >
> >I send my job like this:
> >
> >salloc -n 2 -N 2 --gres=gpu:2  --mail-type=ALL
> >[email protected] mpirun job1
> >
> >The job finished fine, but never send the email. I don¹t have to do
> >anything for the slurm know how send the email?
> >
> >-----Mensaje original-----
> >De: Wiegand, Paul [mailto:[email protected]] Enviado el: viernes, 18
> >de diciembre de 2015 12:00
> >Para: slurm-dev
> >Asunto: [slurm-dev] Re: How can I send a mail when I finished a job?
> >
> >You have to tell it which events you want to receive email about, too.
> >Like this in your submit script:
> >
> >#SBATCH --mail-type=FAIL
> >#SBATCH --mail-type=BEGIN
> >#SBATCH --mail-type=END
> >#SBATCH --mail-user [email protected]
> >
> >
> >
> >
> >> On Dec 18, 2015, at 11:26, Fany Pagés Díaz <[email protected]> wrote:
> >>
> >> I need to know the status of the work, but I used the mail-user
> >>=myemail  parameter but not working. I have to do some configuration
> >>on the server?
> >>
> >> Any can help me?
> >> Ing. Fany Pagés Díaz
This email (including any attachments or links) may contain 
confidential and/or legally privileged information and is 
intended only to be read or used by the addressee.  If you 
are not the intended addressee, any use, distribution, 
disclosure or copying of this email is strictly 
prohibited.  
Confidentiality and legal privilege attached to this email 
(including any attachments) are not waived or lost by 
reason of its mistaken delivery to you.
If you have received this email in error, please delete it 
and notify us immediately by telephone or email.  Peter 
MacCallum Cancer Centre provides no guarantee that this 
transmission is free of virus or that it has not been 
intercepted or altered and will not be liable for any delay 
in its receipt.

Reply via email to