[slurm-users] job_submit.lua script

Christopher Samuel chris at csamuel.org
Wed Apr 11 21:40:52 MDT 2018


On 12/04/18 01:47, Bjørn-Helge Mevik wrote:

> "sysadmin.caos" <sysadmin.caos at uab.cat> writes:
> 
>> srun: error: slurm_job_submit: parameter error 65534 4294967294 1
> 
> 4294967294 is the special value slurm.NO_VAL, meaning the parameter
> was not specified.  It is for 32 bit parametres.  I guess (but
> haven't double checked) that 65534 is slurm.NO_VAL16, meaning the
> same for 16 bit parametres (there is also a slurm.NP_VAL64 for 64 bit
> parametres).

In our job submit filter I have this (it only modifies things we use):


        -- If various job properties are unset, set them to the defaults
        -- Unset properties appear as:
        -- Tasks: 4294967294
        -- Cores per task: 65534
	if ( 4294967294 == job_desc.num_tasks ) then
		job_desc.num_tasks = 1
	end
	if ( 65534 == job_desc.cpus_per_task ) then
		job_desc.cpus_per_task = 1
	end



In case that helps..


-- 
  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC



More information about the slurm-users mailing list