Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 17 additions & 14 deletions environments/common/inventory/group_vars/all/openondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ openondemand_apps_desktop_default:
cluster: slurm
form:
- desktop
- bc_queue
- auto_queues
- bc_num_hours
- num_cores
- gres
- gres_count
- node
attributes:
desktop: xfce
bc_queue:
auto_queues:
value: "{{ openondemand_desktop_partition | default(none) }}"
num_cores:
label: Number of cores
Expand Down Expand Up @@ -156,6 +156,8 @@ openondemand_apps_desktop_default:
script:
job_name: "ood-desktop"
native:
- "--partition"
- "<%= auto_queues %>"
- <%= "--nodes=1" %>
- <%= "--ntasks=#{num_cores}" %>
<% if node != '' %>
Expand All @@ -175,7 +177,7 @@ openondemand_apps_jupyter_default:
form:
- modules
- extra_jupyter_args
- bc_queue
- auto_queues
- bc_num_hours
- num_cores
- gres
Expand Down Expand Up @@ -205,7 +207,7 @@ openondemand_apps_jupyter_default:
help: Select a particular node or leave empty to let Slurm pick the next available
value: ""
extra_jupyter_args: ""
bc_queue:
auto_queues:
value: "{{ openondemand_jupyter_partition | default(none) }}"
submit: |
---
Expand All @@ -218,6 +220,8 @@ openondemand_apps_jupyter_default:
script:
job_name: "ood-jupyter"
native:
- "--partition"
- "<%= auto_queues %>"
- <%= "--nodes=1" %>
- <%= "--ntasks=#{num_cores}" %>
<% if node != '' %>
Expand All @@ -233,7 +237,7 @@ openondemand_apps_rstudio_default:
description: Request a RStudio server
cluster: slurm
attributes:
bc_queue:
auto_queues:
value: "{{ openondemand_rstudio_partition | default(none) }}"
rstudio_module:
label: RStudio module
Expand Down Expand Up @@ -292,9 +296,8 @@ openondemand_apps_rstudio_default:
min: 1
step: 1
form:
- bc_queue
- rstudio_module
- auto_queues
- rstudio_module
- extra_modules_script
- cores
- ram
Expand All @@ -312,7 +315,7 @@ openondemand_apps_rstudio_default:
script:
native:
- "--partition"
- "<%= bc_queue %>"
- "<%= auto_queues %>"
- "--ntasks"
- "1"
- "--mem"
Expand All @@ -332,7 +335,7 @@ openondemand_apps_matlab_default:
cluster: slurm
form:
- desktop
- bc_queue
- auto_queues
- bc_num_hours
- matlab_module
- cores
Expand All @@ -343,7 +346,7 @@ openondemand_apps_matlab_default:
desktop: xfce
# bc_account: # i.e. slurm account
# value: root
bc_queue:
auto_queues:
value: "{{ openondemand_matlab_partition | default(none) }}"
matlab_module:
label: MATLAB module
Expand Down Expand Up @@ -399,7 +402,7 @@ openondemand_apps_matlab_default:
job_name: "ood-matlab"
native:
- "--partition"
- "<%= bc_queue %>"
- "<%= auto_queues %>"
- "--ntasks"
- "1"
- "--mem"
Expand All @@ -416,7 +419,7 @@ openondemand_apps_codeserver_default:
description: Request a Code Server
cluster: slurm
form:
- bc_queue
- auto_queues
- bc_num_hours
- codeserver_module
- cores
Expand All @@ -430,7 +433,7 @@ openondemand_apps_codeserver_default:
widget: select
options:
- ["Code Server v{{ openondemand_code_server_version}}", "code-server/{{ openondemand_code_server_version }}"]
bc_queue:
auto_queues:
value: "{{ openondemand_codeserver_partition | default(none) }}"
cores:
label: Number of CPU cores
Expand Down Expand Up @@ -467,7 +470,7 @@ openondemand_apps_codeserver_default:
job_name: "ood-codeserver"
native:
- "--partition"
- "<%= bc_queue %>"
- "<%= auto_queues %>"
- "--ntasks"
- "1"
- "--mem"
Expand Down
Loading