Browse Source

fix syntax error

pull/17/head
root 1 year ago
parent
commit
41f075af42
  1. 2
      roles/slurm-management/files/job_submit.lua

2
roles/slurm-management/files/job_submit.lua

@ -58,7 +58,7 @@ function slurm_job_submit(job_desc, part_list, submit_uid) @@ -58,7 +58,7 @@ function slurm_job_submit(job_desc, part_list, submit_uid)
end
-- Reject GPU jobs that do not request at least one GPU.
if ((job_desc.partition == "gpu" or job_desc.partition == "gpushort") and not job_desc.gres)) then
if ((job_desc.partition == "gpu" or job_desc.partition == "gpushort") and not job_desc.gres) then
slurm.log_user("Jobs submitted to the GPU partition need to request at least one GPU, see:\nhttps://wiki.hpc.rug.nl/peregrine/jobs/advanced_topics/running_jobs_on_gpus")
return slurm.ERROR
end

Loading…
Cancel
Save