Skip to content

Commit

Permalink
Updates 'any' node type + 'n' gpus where n != 0 behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
HazelGrant committed May 16, 2024
1 parent 52e1a01 commit 8d0ca26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
slurm_args = case node_type
# 'any' case handled by scheduler, this is just a quick short circuit
when "any"
base_slurm_args + any_node
base_slurm_args + any_node + ["--gpus-per-node", "#{gpu_count}"]

when "any-40core"
base_slurm_args + p18_node
Expand Down
2 changes: 1 addition & 1 deletion ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
slurm_args = case node_type
# 'any' case handled by scheduler, this is just a quick short circuit
when "any"
base_slurm_args + any_node
base_slurm_args + any_node + ["--gpus-per-node", "#{gpu_count}"]

when "any-40core"
base_slurm_args + p18_node
Expand Down

0 comments on commit 8d0ca26

Please sign in to comment.