<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-8-I">
</head>
<body>
<p>Set --mail-type appropriately.</p>
<p>If you want only 1 email for the array, remove the "ARRAY_TASKS"
from that.<br>
If you don't want emails at all, set it to "NONE"</p>
<p><dt style="box-sizing: border-box; font-family: "Source Sans
Pro", Helvetica, Arial, sans-serif; font-size: 20px;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;"><i><b
style="box-sizing: border-box; margin: 0px; padding: 0px;
border: 0px none; font-variant: inherit; font-weight: bold;
font-stretch: inherit; font-size: inherit; line-height:
inherit; font-family: inherit; vertical-align: baseline;">--mail-type</b></i><i>=<</i><i><span
style="box-sizing: border-box; margin: 0px; padding: 0px;
border: 0px none; font-variant: inherit; font-weight:
inherit; font-stretch: inherit; font-size: inherit;
line-height: inherit; font-family: inherit; vertical-align:
baseline;">type</span></i><i>></i></dt>
<dd style="box-sizing: border-box; font-family: "Source Sans
Pro", Helvetica, Arial, sans-serif; font-size: 20px;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;"><i>Notify user by
email when certain event types occur. Valid</i><i><span> </span></i><i><span
style="box-sizing: border-box; margin: 0px; padding: 0px;
border: 0px none; font-variant: inherit; font-weight:
inherit; font-stretch: inherit; font-size: inherit;
line-height: inherit; font-family: inherit; vertical-align:
baseline;">type</span></i><i><span> </span></i><i>values are
NONE, BEGIN, END, FAIL, REQUEUE, ALL (equivalent to BEGIN,
END, FAIL, REQUEUE, and STAGE_OUT), STAGE_OUT (burst buffer
stage out and teardown completed), TIME_LIMIT, TIME_LIMIT_90
(reached 90 percent of time limit), TIME_LIMIT_80 (reached 80
percent of time limit), TIME_LIMIT_50 (reached 50 percent of
time limit) and ARRAY_TASKS (send emails for each array task).
Multiple</i><i><span> </span></i><i><span style="box-sizing:
border-box; margin: 0px; padding: 0px; border: 0px none;
font-variant: inherit; font-weight: inherit; font-stretch:
inherit; font-size: inherit; line-height: inherit;
font-family: inherit; vertical-align: baseline;">type</span></i><i><span> </span></i><i>values
may be specified in a comma separated list. The user to be
notified is indicated with</i><i><span> </span></i><i><b
style="box-sizing: border-box; margin: 0px; padding: 0px;
border: 0px none; font-variant: inherit; font-weight: bold;
font-stretch: inherit; font-size: inherit; line-height:
inherit; font-family: inherit; vertical-align: baseline;">--mail-user</b></i><i>.
Unless the ARRAY_TASKS option is specified, mail notifications
on job BEGIN, END and FAIL apply to a job array as a whole
rather than generating individual email messages for each task
in the job array.</i></dd>
</p>
<p>Brian Andrus<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 11/25/2019 1:48 AM,
<a class="moz-txt-link-abbreviated" href="mailto:ichebotar@univ.haifa.ac.il">ichebotar@univ.haifa.ac.il</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:331BCF5E-8A8B-4620-91B4-01F2320DA17A@univ.haifa.ac.il">
<pre class="moz-quote-pre" wrap="">Hi,
I would like to ask if there is some options to configure the e-mail notification of slurm jobs?
For example, how can i filter or not allow sending notifications of an array jobs? Our relay servers is getting overloaded because of thousands of notifications regarding array jobs.
I would like to allow this flag only on regular jobs.
========================
Best Wishes,
Igor
</pre>
</blockquote>
</body>
</html>