From 8d0ca26896bf128a404b7c43eafe7cbc20656cd3 Mon Sep 17 00:00:00 2001 From: HazelGrant Date: Thu, 16 May 2024 10:40:58 -0400 Subject: [PATCH] Updates 'any' node type + 'n' gpus where n != 0 behavior --- apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb | 2 +- ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb b/apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb index 536ad0b..439762a 100644 --- a/apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb +++ b/apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb @@ -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 diff --git a/ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb b/ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb index 536ad0b..439762a 100644 --- a/ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb +++ b/ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb @@ -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