Dear Doug and Christian, Thank you very very much because of your help.
I could be able to solve the problem when i make the changes as you said (Applied in headnode then scontrol reconfigure). Now the emails are sent successfully. Best Regards, Fatih [cid:[email protected]] Fatih Öztürk Engineering Information Technologies Information Technologies [email protected]<mailto:[email protected]> [cid:[email protected]] TAI - Turkish Aerospace Industries, Inc. www.tai.com.tr / www.taigermany.com<www.tai.com.tr> [cid:[email protected]] <https://www.linkedin.com/company/tai> [cid:[email protected]] <https://www.youtube.com/channel/UC4A34yFloIv5dFUC3ogXHgQ> [cid:[email protected]] <http://twitter.com/TUSASTAI> Address: Fethiye Mh. Havacilik Blv. No:17 06980 Kazan – ANKARA / TURKEY Tel: +90 (312) 811 1800 / 810 8000-3179 // Fax: +90 312 811 1425 [cid:[email protected]]<http://> Legal Notice : The Terms and Conditions which this e-mail is subject to, can be accessed from this link.<http://www.tai.com.tr/tr/yasal-uyari> From: Douglas Jacobsen [mailto:[email protected]] Sent: Thursday, August 18, 2016 4:28 PM To: slurm-dev Subject: [slurm-dev] Re: SLURM job's email notification does not work Email is only sent by slurmctld, you'll need to change slurm.conf there and at least do an `scontrol reconfigure`, then perhaps it'll start working. -Doug ---- Doug Jacobsen, Ph.D. NERSC Computer Systems Engineer National Energy Research Scientific Computing Center<http://www.nersc.gov> ------------- __o ---------- _ '\<,_ ----------(_)/ (_)__________________________ On Thu, Aug 18, 2016 at 6:23 AM, Fatih Öztürk <[email protected]<mailto:[email protected]>> wrote: Dear Christian, What i did now; 1) Changed computenode3 status to DRAIN 2) Changed slurm.conf only on computenode3. Added MailProg=/usr/bin/mailx at the end of the slurm.conf 3)Restarted munged and slurmd services 4) Changed computenode3 status to RESUME Both with root and my own user id, email is still not sent again from computenode3. Regards. Fatih Öztürk Engineering Information Technologies Information Technologies [email protected]<mailto:[email protected]> TAI - Turkish Aerospace Industries, Inc. Address: Fethiye Mh. Havacılık Blv. No:17 06980 Kazan – ANKARA / TURKEY Tel: +90 312 811 1800-3179 // Fax: +90 312 811 1425<tel:%2B90%20312%20811%201425> www.tai.com.tr<http://www.tai.com.tr> Legal Notice : The Terms and Conditions which this e-mail is subject to, can be accessed from this link: http://www.tai.com.tr/tr/yasal-uyari -----Original Message----- From: Christian Goll [mailto:[email protected]<mailto:[email protected]>] Sent: Thursday, August 18, 2016 3:59 PM To: slurm-dev Subject: [slurm-dev] Re: SLURM job's email notification does not work Hello Fatih, did you set the variable MailProg to right value, e.g. MailProg=/usr/bin/mailx in slurm.conf? kind regards, Christian On 18.08.2016 14:44, Fatih Öztürk wrote: > Hello, > > > I have a problem about email notification with jobs. I would be > appreciate if you could help me. > > > We have a SLURM cluster: 1 Head Node and about 20 Compute Nodes. > User's run their jobs within only on head node with their own credentials. > > > As an example, if i run a job like below on the head node; > > > [t15247@headnode ] # srun -n1 -w "computenode3" --mail-type=ALL > [email protected]<mailto:[email protected]> > /bin/hostname > > > it runs successfully, however no slurm notification email sent to user. > > > However, this user can send email manually with "mailx" successfully > from both on headnode and computenode3. > > > Would you please help me about this problem? > > > Note: Remote microsoft exchange smtp server informations are set in > /etc/mail.rc > > > Regards, > > > *@* > > *Fatih Öztürk* > > TAI, Turkish Aerospace Industries Inc. > > Engineering IT > > +90 312 811 18 00<tel:%2B90%20312%20811%2018%2000>/ 3179 > > > > > > > *Fatih Öztürk* > > Engineering Information Technologies > > Information Technologies > > [email protected]<mailto:[email protected]> > <mailto:[email protected]<mailto:[email protected]>> > > TAI - Turkish Aerospace Industries, Inc. > *www.tai.com.tr<http://www.tai.com.tr>* / > *www.taigermany.com<http://www.taigermany.com>* > <www.tai.com.tr<http://www.tai.com.tr>> > <https://www.linkedin.com/company/tai> > <https://www.youtube.com/channel/UC4A34yFloIv5dFUC3ogXHgQ> > <http://twitter.com/TUSASTAI> > Address: Fethiye Mh. Havacilik Blv. No:17 06980 Kazan – ANKARA / > TURKEY Tel: +90 (312) 811 1800<tel:%2B90%20%28312%29%20811%201800> / 810 > 8000-3179 // > Fax: +90 312 811 1425<tel:%2B90%20312%20811%201425> > > <http://> > > Legal Notice : > *The Terms and Conditions which this e-mail is subject to, can be > accessed from this link.* <http://www.tai.com.tr/tr/yasal-uyari> > > -- Dr. Christian Goll HITS gGmbH Schloss-Wolfsbrunnenweg 35 69118 Heidelberg Germany Phone: +49 6221 533 230<tel:%2B49%206221%20533%20230> Fax: +49 6221 533 230<tel:%2B49%206221%20533%20230> ________________________________________________ Amtsgericht Mannheim / HRB 337446 Managing Director: Dr. Gesa Schönberger
