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

2020-01-24 Thread William G. Wichser
Answering my own question after much help from Josko Plazonic- local mem_to_use = 0 -- This is the logic - -- either min_mem_per_node or min_mem_per_cpu will be set -- Both can't be set, so only act in those two cases if job_desc.min_mem_per_node ~= nil then mem_to_use = job_desc.min_me

[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