[slurm-users] Checking memory requirements in job_submit.lua

Prentice Bisbal pbisbal at pppl.gov
Mon Jan 14 20:12:36 UTC 2019


Bjorn,

Sorry for the delayed reply. I didn't see this earlier (6 months ago!). 
I'm just seeing it now as I clean up my inbox.

1. Yes, slurm.user_msg does actually print out a message to the user in 
this case.

2. I was running 17.11.4 or 17.11.5 at the time. I've since upgraded to 
18.08.

--

Prentice

On 6/18/18 7:28 AM, Bjørn-Helge Mevik wrote:
> Prentice Bisbal <pbisbal at pppl.gov> writes:
>
>> if job_desc.pn_min_mem > 65536 then
>>      slurm.user_msg("NOTICE: Partition switched to mque due to memory
>> requirements.")
>>      job_desc.partition = 'mque'
>>      job_desc.qos = 'mque'
>>      return slurm.SUCCESS
>> end
> Somewhat off-topic, but:  So, does slurm.user_msg() now actually print a
> message to users when one returns with slurm.SUCCESS?  (It didn't use to
> work.)  Which version of slurm are you running?
>



More information about the slurm-users mailing list