<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>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 <a href="https://github.com/SchedMD/slurm/blob/slurm-17.11/slurm/slurm.h.in" class="">https://github.com/SchedMD/slurm/blob/slurm-17.11/slurm/slurm.h.in</a> , in contrast to num_tasks, 'num_nodes' is not a member of job_descriptor structure. I tried job_desc.num_nodes in job_submit.lua, then it turns out be nil.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>I wonder is 'num_nodes' the correct name to get the requested number of nodes. And is any way to get number of nodes in job_submit.lua?</div><div class=""><br class=""></div><div class="">Thank you!</div><div class=""><br class=""></div><div class="">Jianwen</div></body></html>