Hello,
I answer about my question:
* What is the contents of your /etc/slurm/job_submit.lua file?
function slurm_job_submit(job_desc, part_list, submit_uid)
if (job_desc.user_id == 1008) then
slurm.log_info("Trabajo sometido por druiz")
if (job_desc['partition'] == "nodo.q") then
if (job_desc['time_limit'] > 345600)
# 345600 seconds == 4 days
# nodo.q partition has "PartitionName=nodo.q Nodes=clus[01-12] Default=YES MaxTime=04:00:00" configuration
return slurm.FAILURE
end
end
end
return slurm.SUCCESS
end
slurm.log_info("initialized")
return slurm.SUCCESS
* Did you reconfigure slurmctld?
Yes, in the first time, I ran "scontrol reconfigure", but after checking that limits wasn't applyed, I restarted slurmctld daemon
* Check the log file by: grep job_submit /var/log/slurm/slurmctld.log
In my slurmctld.log file in SLURM server, "grep job_submit /var/log/slurm/slurmctld.log" doesn't return anything...
* What is your Slurm version?
23.11.0
Thanks.