Re: [slurm-users] Partition dedicated to batch jobs only

2022-05-10 Thread Moshe Mergy
Thanks a lot René ! It helps me a lot! An additional question about the log messages from job_submit.lua: With slurm.log_info(), I want to display the job ID instead of the job name "job_desc.name" in function slurm_job_submit(), but I didn't find such a relevant field in the job_desc type. I

[slurm-users] Partition dedicated to batch jobs only

2022-05-09 Thread Moshe Mergy
Hi all, How could I define a partition dedicated to batch jobs only, i.e. to use with sbatch only, not permitting to run srun/interactive jobs on it? Using Slurm options ? Using a Lua script blocking srun ? (though I don't understand much in Lua scripts) I currently use Slurm 20.02 Thanks a lot