diff --git a/submit.yml.erb b/submit.yml.erb index 8183e626f2f08cd016aaf1ce68ea603c1707c90a..dd2114ba15437d2d8045ffdc8b888e20b9b06644 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -1,3 +1,9 @@ +<%- + 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 -%>