Skip to content
Open
Show file tree
Hide file tree
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
9 changes: 4 additions & 5 deletions brc_jupyter-compute/form.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ attributes:

qos_name:
label: "SLURM QoS Name"
help: "Most users can leave it black for default assignment, Savio Condo users want to specify their condo QoS name"
help: "Most users can leave it blank for default assignment, Savio Condo users want to specify their condo QoS name"
widget: select

num_nodes:
Expand All @@ -70,12 +70,11 @@ attributes:

num_cores:
label: "Number of CPU cores per Node"
help: "Please specify the number of CPU cores you want per node for this Jupyter Server"
value: 1
help: "Please specify the number of CPU cores per node. If using a GPU, the total number of CPUs in the job must be 2 times the number of GPUs."

gres_value:
label: "Number and type of GPUs"
help: "You choose to run in a partition with GPUs. Please specify the GRES value i.e the number and type of GPUs you want for this Jupyter Server"
label: "Number of GPUs"
help: "You choose to run in a partition with GPUs. Please specify the number of GPUs you want for this Jupyter Server."

user_email:
label: "Email address (optional)"
Expand Down
6 changes: 4 additions & 2 deletions brc_jupyter-compute/submit.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ script:
<%- end %>
<%- if gres_value != "" %>
- "--gres"
- "<%= gres_value %>"
- "gpu:<%= gres_value %>"
<%- end %>
<%- if num_cores != "" %>
- "--ntasks-per-core"
- "--cpus-per-task"
- "1"
- "--ntasks-per-node"
- "<%= num_cores %>"
<%- end %>
- "--nodes"
Expand Down