Hello,
I answer about my question:
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
Yes, in the first time, I ran “scontrol reconfigure”, but after checking that limits wasn’t applyed, I restarted slurmctld daemon
In my slurmctld.log file in SLURM server, “grep job_submit /var/log/slurm/slurmctld.log” doesn’t return anything...
23.11.0
Thanks.