Skip to content
Snippets Groups Projects
Commit 4f87a42d authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Send email notify when slurm job BEGIN

parent e2b87ab8
No related branches found
No related tags found
No related merge requests found
<%-
email = ENV['USER']
if !email.include? '@'
email = email + '@uab.edu'
end
-%>
---
batch_connect:
template: "vnc"
......@@ -14,3 +20,7 @@ script:
<%- if bc_partition.include? "pascalnodes" -%>
- "--gres=gpu:1"
<%- end -%>
<%- if bc_email_on_started == "1" -%>
- "--mail-type=BEGIN"
- "--mail-user=<%= email %>"
<%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment