[slurm-users] How to get num_nodes in job_submit.lua
Chris Samuel
chris at csamuel.org
Sun Nov 4 00:15:00 MDT 2018
On Sunday, 4 November 2018 12:27:59 AM AEDT Ade Fewings wrote:
> I think that, if specified, the ‘sbatch -N’ number comes through as
> min_nodes (& max_nodes if relevant) in the job descriptor.
That's correct, it does. For instance you're using Lua it's:
job_desc.min_nodes
job_desc.max_nodes
--
Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
More information about the slurm-users
mailing list