You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,11 +125,6 @@ function slurm_job_submit(job_desc, submit_uid)
119
125
end
120
126
job_desc.account = job_desc.comment
121
127
end
122
-
if (job_desc.gres == nil) and (job_desc.tres_per_job == nil) and (job_desc.tres_per_node == nil) and (job_desc.tres_per_task == nil) and (job_desc.shared ~= 0) then
123
-
slurm.log_info("User did not specified GPUS.")
124
-
slurm.user_msg("[error] No GPUs were requested on the GPU cluster. If you do not need GPUs please use the CPU cluster instead.")
125
-
return slurm.ERROR
126
-
end
127
128
ngpus = 0
128
129
local tab = apiCall(job_desc.user_name, stability_cluster, job_desc.account, ngpus)
129
130
if tab.result=="rejected" then
@@ -152,11 +153,6 @@ function slurm_job_modify(job_desc, job_rec, modify_uid)
152
153
end
153
154
job_desc.account = job_desc.comment
154
155
end
155
-
if (job_desc.gres == nil) and (job_desc.tres_per_job == nil) and (job_desc.tres_per_node == nil) and (job_desc.tres_per_task == nil) and (job_desc.shared ~= 0) then
156
-
slurm.log_info("User did not specified GPUS.")
157
-
slurm.user_msg("[error] No GPUs were requested on the GPU cluster. If you do not need GPUs please use the CPU cluster instead.")
158
-
return slurm.ERROR
159
-
end
160
156
ngpus = 0
161
157
local tab = apiCall(job_desc.user_name, stability_cluster, job_desc.account, ngpus)
0 commit comments