Re: [slurm-users] How to get num_nodes in job_submit.lua

2018-11-03 Thread Ade Fewings
Hi I think that, if specified, the 'sbatch -N' number comes through as min_nodes (& max_nodes if relevant) in the job descriptor. ~~ Ade From: slurm-users On Behalf Of weijianwen Sent: 03 November 2018 12:53 To: slurm-users@lists.schedmd.com Subject: [slurm-users] How to get num_nodes in

[slurm-users] How to get num_nodes in job_submit.lua

2018-11-03 Thread weijianwen
Hi, We're using SLURM 17.11 and trying to control job submission from user via Lua plugins job_submit.lua. Number of nodes specified via "-N" option in SLURM job script is crucial for us, but I found no where to get it. According to job_descriptor defined in