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

Adding amperenodes partition to Ansys interactive app

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