From 253e8a7b1a0d84234307fb502a54a4aa70e6e5ac Mon Sep 17 00:00:00 2001 From: diedpigs <louistw@uab.edu> Date: Mon, 17 Oct 2022 10:17:21 -0500 Subject: [PATCH] Fix deploy issue (#8) * Remove trailing space * Remove jinja2 syntax --- README.md | 2 +- form.yml.erb | 2 +- manifest.yml | 4 ++-- submit.yml.erb | 2 +- template/script.sh.erb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cca0337..3dbaf3f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Batch Connect - OSC ANSYS +# Batch Connect - OSC ANSYS  [](https://opensource.org/licenses/MIT) diff --git a/form.yml.erb b/form.yml.erb index 07e31c2..a484642 100644 --- a/form.yml.erb +++ b/form.yml.erb @@ -1,5 +1,5 @@ --- -cluster: "SLURM_CLUSTER" +cluster: "SLURM_CLUSTER" attributes: bc_num_hours: value: 1 diff --git a/manifest.yml b/manifest.yml index d1baab7..f42a90c 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,5 +1,5 @@ --- -name: ANSYS +name: ANSYS category: Interactive Apps subcategory: GUIs role: batch_connect @@ -7,5 +7,5 @@ description: | This app will launch a [ANSYS] GUI on the [Cheaha cluster]. You will be able to interact with the ANSYS GUI through a VNC session. - [ANSYS]: https://www.ansys.com/ + [ANSYS]: https://www.ansys.com/ [Cheaha cluster]: https://docs.uabgrid.uab.edu/wiki/Cheaha_GettingStarted diff --git a/submit.yml.erb b/submit.yml.erb index db4d0e9..651b8d8 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -8,7 +8,7 @@ script: - "--mem-per-cpu=<%= bc_num_mems.blank? ? 4 : bc_num_mems.to_i %>G" - "--partition=<%= bc_partition %>" - "--time=<%= bc_num_hours.blank? ? 1 : bc_num_hours.to_i %>:00:00" - - "--job-name=ood-{{ ansys_module_name|lower }}" + - "--job-name=ood-ansys" <%- if bc_partition.include? "pascalnodes" -%> - "--gres=gpu:1" <%- end -%> diff --git a/template/script.sh.erb b/template/script.sh.erb index 731d37d..5aac501 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -24,7 +24,7 @@ cd "${HOME}" ) & # -# Start ANSYS +# Start ANSYS # # Load the required environment -- GitLab