[slurm-users] Re: Lua script

2024-03-21 Thread Gestió Servidors via slurm-users
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_d

[slurm-users] Re: Lua script

2024-03-20 Thread Ole Holm Nielsen via slurm-users
What is the contents of your /etc/slurm/job_submit.lua file? Did you reconfigure slurmctld? Check the log file by: grep job_submit /var/log/slurm/slurmctld.log What is your Slurm version? You can read about job_submit plugins in this Wiki page: https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_conf

[slurm-users] Re: Lua script

2024-03-20 Thread Gestió Servidors via slurm-users
Hello, after adding "EnforcePartLimits=ALL" in slurm.conf and restarting slurmctld daemon, job continues being accepted... so I don't undertand where I'm doing some wrong. My slurm.conf is this: ControlMachine=my_server MailProg=/bin/mail MpiDefault=none ProctrackType=proctrack/linuxproc Return

[slurm-users] Re: Lua script

2024-03-06 Thread Paul Raines via slurm-users
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

[slurm-users] Re: Lua script

2024-03-06 Thread Diego Zuccato via slurm-users
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

[slurm-users] Re: Lua script

2024-03-06 Thread Gestió Servidors via slurm-users
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

[slurm-users] Re: Lua script

2024-03-06 Thread Diego Zuccato via slurm-users
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