Hello,
I'm writing a small lua script that for modify "TimeLimit" of a submited job if
user has configured a TimeLimit bigger that configured in the partition. So, is
TimeLimit for partition is, for example, 4 hours (04:00:00) and user submit
his/her job with a TimeLimit of 5 hours, lua script
I don't know why that happens (other than you're opening a comment and
not closing it, IIUC), but it would probably be less surprising to just
reject the submission than reduce the limit.
In the (rare...) case the user actually needs all the time requested,
you risk wasting resources. If you rej
And how can I reject the job inside the lua script?
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com
Il 06/03/2024 13:49, Gestió Servidors via slurm-users ha scritto:
And how can I reject the job inside the lua script?
Just use
return slurm.FAILURE
and job will be refused.
--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
Alternativelly consider setting EnforcePartLimits=ALL in slurm.conf
-- Paul Raines (http://help.nmr.mgh.harvard.edu)
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient