I use the following test:

if job_desc.pn_min_memory == slurm.NO_VAL64 then
   ...
   
for testing that neither --mem nor --mem-per-cpu has been specified.  It
seems to work.  (slurm 17.02.7)

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo

Attachment: signature.asc
Description: PGP signature

Reply via email to