[slurm-users] job_desc.pn-min-memory in LUA jobsubmit-plugin

20 views
Skip to first unread message

Marx, Wolfgang

unread,
Nov 16, 2023, 2:51:54 AM11/16/23
to slurm...@schedmd.com

Hello,

 

we are using Slurm Version 23.02.3 and are working on a job_submit-plugin written in LUA.

 

During the development of the script we found out, that values we give for

--mem will appear in the job-submit-plugin in the variable job_desc.pn-min-memory

and for

--mem-per-cpu will appear in the variable job_desc.min_mem_per_cpu

 

During our tests we now see a strange behavior:

When we start a job without --mem or --mem-per-cpu , job_desc.pn-min-memory shows up with the value  1.844674407371e+19

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

 

Why does the NO_VAL value for --mem differs depending if --mem-per-cpu is set or not ?

 

In the documentation i could not find a proper explanation.

 

Kind regards

    Wolfgang

 

Wolfgang Marx, Basisdienste, Gruppe Hochleistungrechnen

Technische Universität Darmstadt, Hochschulrechenzentrum

Alexanderstraße 2, 64283 Darmstadt

Tel.: +496151/16-71158

E-Mail: wolfga...@tu-darmstadt.de

Web: www.hrz.tu-darmstadt.de

 

Davide DelVento

unread,
Nov 17, 2023, 8:49:52 AM11/17/23
to Slurm User Community List, slurm...@schedmd.com
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.

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 ;-)
Reply all
Reply to author
Forward
0 new messages