Skip to content
Snippets Groups Projects
Commit d7bba231 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Adding amperenodes partition to Ansys interactive app

parent dd9b0ab5
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,13 @@ attributes:
max: 128
step: 1
bc_num_gpus:
label: Number of GPUs
value: 1
min: 1
max: 4
step: 1
bc_partition:
widget: select
label: Partition
......@@ -45,6 +52,9 @@ attributes:
- [ "largemem-long", "largemem-long" ]
- [ "amd-hdr100", "amd-hdr100" ]
- [ "intel-dcb", "intel-dcb" ]
- [ "amperenodes-debug", "amperenodes-debug" ]
- [ "amperenodes", "amperenodes" ]
- [ "amperenodes-medium", "amperenodes-medium" ]
version:
widget: select
......@@ -74,6 +84,7 @@ form:
- version
- bc_num_hours
- bc_partition
- bc_num_gpus
- bc_num_slots
- bc_num_mems
- bc_email_on_started
......
......@@ -17,8 +17,8 @@ script:
- "--partition=<%= bc_partition %>"
- "--time=<%= bc_num_hours.blank? ? 1 : bc_num_hours.to_i %>:00:00"
- "--job-name=ood-matlab-<%= version.split("/")[-1] %>"
<%- if bc_partition.include? "pascalnodes" -%>
- "--gres=gpu:1"
<%- if bc_partition.include? "pascalnodes" or bc_partition.include? "amperenodes" -%>
- "--gres=gpu:<%= bc_num_gpus.blank? ? 1 : bc_num_gpus.to_i %>"
<%- end -%>
<%- if bc_email_on_started == "1" -%>
- "--mail-type=BEGIN"
......
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