From 778a7f4796f060762a601077e2b8198c650c783d Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Fri, 31 May 2024 16:19:39 -0400 Subject: [PATCH] Next version (#47) * use auto_accounts * add version 2023R2 --- form.yml.erb => form.yml | 15 ++------------- submit.yml.erb | 1 - 2 files changed, 2 insertions(+), 14 deletions(-) rename form.yml.erb => form.yml (89%) diff --git a/form.yml.erb b/form.yml similarity index 89% rename from form.yml.erb rename to form.yml index 0c7148c..a9ec6ea 100644 --- a/form.yml.erb +++ b/form.yml @@ -1,14 +1,9 @@ -<%- - groups = OodSupport::User.new.groups.sort_by(&:id).tap { |groups| - groups.unshift(groups.delete(OodSupport::Process.group)) - }.map(&:name).grep(/^P./) --%> --- cluster: - "owens" form: - version - - account + - auto_accounts - bc_num_hours - bc_num_slots - num_cores @@ -34,13 +29,6 @@ attributes: Currently only Fluent and CFX have been tested to support multiple nodes. bc_vnc_resolution: required: true - account: - label: "Project" - widget: select - options: - <%- groups.each do |group| -%> - - "<%= group %>" - <%- end -%> reserve_parallel_licenses: widget: check_box checked_value: 1 @@ -82,6 +70,7 @@ attributes: label: "ANSYS Workbench version" help: "This defines the version of ANSYS you want to load." options: + - [ "2023 R2", "ansys/2023R2" ] - [ "2022 R2", "ansys/2022R2" ] - [ "2022 R1", "ansys/2022R1" ] - [ "2021 R2", "ansys/2021R2" ] diff --git a/submit.yml.erb b/submit.yml.erb index 4600a33..0f1cfa7 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -37,7 +37,6 @@ batch_connect: template: "vnc" script: - accounting_id: "<%= account %>" native: <%- slurm_args.each do |arg| %> - "<%= arg %>"