{"id":377,"date":"2019-10-11T13:52:11","date_gmt":"2019-10-11T17:52:11","guid":{"rendered":"https:\/\/psycomp.utsc.utoronto.ca\/support\/?p=377"},"modified":"2024-10-18T21:45:08","modified_gmt":"2024-10-19T01:45:08","slug":"receiving-e-mail-notifications-of-your-slurm-jobs","status":"publish","type":"post","link":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2019\/10\/11\/receiving-e-mail-notifications-of-your-slurm-jobs\/","title":{"rendered":"Receive E-mail Notifications of Your Slurm Jobs"},"content":{"rendered":"<p><strong>You can receive E-mail notifications of your Slurm jobs no matter you submit your jobs using &#8220;srun&#8221; or &#8220;sbatch&#8221;.<\/strong><\/p>\r\n1) <strong>srun<\/strong> example (the example will display the hostname of the compute node allocated for the job from the &#8220;cpu&#8221; partition):\r\n<pre>\r\nsrun -p cpu -c 1 --mail-type=ALL --mail-user=YOUR-EMAIL-ADDRESS hostname\r\n<\/pre>\r\n2) <strong>sbatch<\/strong> example:<br\/><br>\r\nPlease check the <a href=\"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2019\/06\/28\/slurm-example-using-sbatch\/\">&#8220;sbatch&#8221; example post<\/a>.","protected":false},"excerpt":{"rendered":"<p>You can receive E-mail notifications of your Slurm jobs no matter you submit your jobs using &#8220;srun&#8221; or &#8220;sbatch&#8221;. 1) srun example (the example will display the hostname of the compute node allocated for the job from the &#8220;cpu&#8221; partition): &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2019\/10\/11\/receiving-e-mail-notifications-of-your-slurm-jobs\/\"> <span class=\"screen-reader-text\">Receive E-mail Notifications of Your Slurm Jobs<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"class_list":["post-377","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":9,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"predecessor-version":[{"id":772,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/377\/revisions\/772"}],"wp:attachment":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}