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 %>