Re: [slurm-users] memory in job_submit.lua

2020-02-27 Thread Bjørn-Helge Mevik
Marcus Wagner writes: > does anyone know how to detect in the lua submission script, if the > user used --mem or --mem-per-cpu? > > And also, if it is possible to "unset" this setting? Something like this should work: if job_desc.pn_min_memory ~= slurm.NO_VAL64 then -- --mem or

[slurm-users] memory in job_submit.lua

2020-02-27 Thread Marcus Wagner
Hi folks, does anyone know how to detect in the lua submission script, if the user used --mem or --mem-per-cpu? And also, if it is possible to "unset" this setting? The reason is, we want to remove all memory thingies set by the user for exclusive jobs. Best Marcus -- Marcus Wagner,