<div dir="ltr">I don't have an answer for you, but I found your message in my spam folder. I brought it out and I'm replying to it in the hope that it gets some visibility in people's mailboxes.<div><br><div>Note that in the US it's SC week and many people are or have been busy with it and will be travelling in the next days, then next week is Thanksgiving and some people take the week off, so you may still have to wait for a week or so to get an answer -- unless you get from somewhere else in the world, that is ;-)</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 16, 2023 at 12:54 AM Marx, Wolfgang <<a href="mailto:wolfgang.marx@tu-darmstadt.de" target="_blank">wolfgang.marx@tu-darmstadt.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div lang="DE">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">we are using Slurm Version 23.02.3 and are working on a job_submit-plugin written in LUA.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">During the development of the script we found out, that values we give for
<u></u><u></u></p>
<p class="MsoNormal">--mem will appear in the job-submit-plugin in the variable job_desc.pn-min-memory<u></u><u></u></p>
<p class="MsoNormal">and for<u></u><u></u></p>
<p class="MsoNormal">--mem-per-cpu will appear in the variable job_desc.min_mem_per_cpu<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">During our tests we now see a strange behavior:<u></u><u></u></p>
<p class="MsoNormal">When we start a job without --mem or --mem-per-cpu , job_desc.pn-min-memory shows up with the value 1.844674407371e+19<u></u><u></u></p>
<p class="MsoNormal">When we start a job without --mem but --mem-per-cpu is set, job_desc.pn-min-meory shows up with the value 9.2233720368548e+18<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Why does the NO_VAL value for --mem differs depending if --mem-per-cpu is set or not ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In the documentation i could not find a proper explanation.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Kind regards<u></u><u></u></p>
<p class="MsoNormal"> Wolfgang<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;color:gray">Wolfgang Marx, Basisdienste, Gruppe Hochleistungrechnen<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:gray">Technische Universität Darmstadt, Hochschulrechenzentrum<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:gray">Alexanderstraße 2, 64283 Darmstadt<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:gray">Tel.: +496151/16-71158<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:gray">E-Mail: <a href="mailto:wolfgang.marx@tu-darmstadt.de" target="_blank">wolfgang.marx@tu-darmstadt.de</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:gray">Web: <a href="http://www.hrz.tu-darmstadt.de" target="_blank">www.hrz.tu-darmstadt.de</a><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></blockquote></div>