Re: [slurm-users] job_submit.lua and memory allocations

2020-01-24 Thread William G. Wichser
o_use = job_desc.min_mem_per_node end if job_desc.min_mem_per_cpu ~= nil then mem_to_use = job_desc.min_mem_per_cpu * job_desc.min_cpus end log_info("slurm_job_submit: Got total memory: %d", mem_to_use) Bill On 1/24/20 8:52 AM, William G. Wichser wrote: > Resurrecting an older thread wher

[slurm-users] job_submit.lua and memory allocations

2020-01-24 Thread William G. Wichser
Resurrecting an older thread where I need to obtain the value for memory in a submitted job. Turns out this is not an easy case with the method I'm trying to use so hope that there is just some variable I am overlooking. The trivial case was simply to look at job_desc.pn_min_memory. And this