From 16f7a3380cf3f815eb63fcc61a80cf13d7dbf9fa Mon Sep 17 00:00:00 2001 From: Eric Le Lay Date: Tue, 10 Mar 2026 19:36:42 +0100 Subject: [PATCH] Don't break on submit if auto_queues is not used eg on some sites we need to use bc_queue --- submit.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submit.yml.erb b/submit.yml.erb index cf7e083..0651f99 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -11,6 +11,6 @@ script: - "--mem" - "<%= ram.blank? ? 4 : ram.to_i %>G" - "--cpus-per-task" - - "<%= cores.blank? ? 1 : cores.to_i %>"<% if auto_queues.start_with?("gpu") %> + - "<%= cores.blank? ? 1 : cores.to_i %>"<% if (auto_queues or "").start_with?("gpu") %> - "--gpus-per-task" - "1"<% end %>