diff --git a/ATMOS5100/submit.yml.erb b/ATMOS5100/submit.yml.erb index 9c42232..f7617ed 100644 --- a/ATMOS5100/submit.yml.erb +++ b/ATMOS5100/submit.yml.erb @@ -1,6 +1,12 @@ +<%- + emailcmd = '/uufs/chpc.utah.edu/sys/bin/CHPCEmailLookup.sh ' + ENV["USER"] + emailaddr = %x[ #{emailcmd}] +-%> + batch_connect: template: "basic" script: + email: <%= emailaddr %> native: <%- if /frisco/.match(cluster) == nil -%> - "-N" diff --git a/ATMOS5340/form.yml b/ATMOS5340/form.yml index 1e0d9fd..cc46181 100644 --- a/ATMOS5340/form.yml +++ b/ATMOS5340/form.yml @@ -21,6 +21,8 @@ attributes: widget: "select" options: - "notchpeak-shared-short" + bc_email_on_started: + help: "If you do not receive the email, check your [Profile](https://www.chpc.utah.edu/role/user/edit_profile.php) for correct address." form: - cluster diff --git a/CHEN2450/form.yml b/CHEN2450/form.yml index 3aefb63..3708998 100644 --- a/CHEN2450/form.yml +++ b/CHEN2450/form.yml @@ -21,6 +21,8 @@ attributes: widget: "select" options: - "notchpeak-shared-short" + bc_email_on_started: + help: "If you do not receive the email, check your [Profile](https://www.chpc.utah.edu/role/user/edit_profile.php) for correct address." form: - cluster diff --git a/CHEN2450/submit.yml.erb b/CHEN2450/submit.yml.erb index 9c42232..f7617ed 100644 --- a/CHEN2450/submit.yml.erb +++ b/CHEN2450/submit.yml.erb @@ -1,6 +1,12 @@ +<%- + emailcmd = '/uufs/chpc.utah.edu/sys/bin/CHPCEmailLookup.sh ' + ENV["USER"] + emailaddr = %x[ #{emailcmd}] +-%> + batch_connect: template: "basic" script: + email: <%= emailaddr %> native: <%- if /frisco/.match(cluster) == nil -%> - "-N" diff --git a/CHEN_Jupyter/form.yml b/CHEN_Jupyter/form.yml index 0affe88..61225a1 100644 --- a/CHEN_Jupyter/form.yml +++ b/CHEN_Jupyter/form.yml @@ -21,6 +21,8 @@ attributes: widget: "select" options: - "coestudent-shared-np" + bc_email_on_started: + help: "If you do not receive the email, check your [Profile](https://www.chpc.utah.edu/role/user/edit_profile.php) for correct address." form: - cluster diff --git a/CHEN_Jupyter/submit.yml.erb b/CHEN_Jupyter/submit.yml.erb index 9c42232..f7617ed 100644 --- a/CHEN_Jupyter/submit.yml.erb +++ b/CHEN_Jupyter/submit.yml.erb @@ -1,6 +1,12 @@ +<%- + emailcmd = '/uufs/chpc.utah.edu/sys/bin/CHPCEmailLookup.sh ' + ENV["USER"] + emailaddr = %x[ #{emailcmd}] +-%> + batch_connect: template: "basic" script: + email: <%= emailaddr %> native: <%- if /frisco/.match(cluster) == nil -%> - "-N" diff --git a/MIB2020/form.yml b/MIB2020/form.yml index 54a96bd..51b9d11 100644 --- a/MIB2020/form.yml +++ b/MIB2020/form.yml @@ -29,6 +29,9 @@ attributes: widget: "select" options: - "notchpeak-shared-short" + bc_email_on_started: + help: "If you do not receive the email, check your [Profile](https://www.chpc.utah.edu/role/user/edit_profile.php) for correct address." + form: - cluster - num_cores diff --git a/MIB2020/submit.yml.erb b/MIB2020/submit.yml.erb index 345fd98..9da4b70 100644 --- a/MIB2020/submit.yml.erb +++ b/MIB2020/submit.yml.erb @@ -1,7 +1,13 @@ +<%- + emailcmd = '/uufs/chpc.utah.edu/sys/bin/CHPCEmailLookup.sh ' + ENV["USER"] + emailaddr = %x[ #{emailcmd}] +-%> + --- batch_connect: template: "basic" script: + email: <%= emailaddr %> <%- if /frisco/.match(cluster) == nil -%> native: - "-N"