I seem to be having the same problem that is described (but not solved)
here...

https://groups.google.com/forum/#!topic/slurm-devel/wRR6dReHuFU

I installed SLURM 14.03.0...

WorkVM:~> scontrol version
slurm 14.03.0

I set it up to use multifactor priorities...

# JOB PRIORITY
#PriorityFlags=
PriorityType=priority/multifactor
#PriorityDecayHalfLife=
#PriorityCalcPeriod=
#PriorityFavorSmall=
#PriorityMaxAge=
#PriorityUsageResetPeriod=
PriorityWeightAge=1000
#PriorityWeightFairshare=
#PriorityWeightJobSize=
#PriorityWeightPartition=
#PriorityWeightQOS=

My settings appear to have been accepted...

WorkVM:~> scontrol show config | grep Age
MinJobAge               = 300 sec
PriorityMaxAge          = 7-00:00:00
PriorityWeightAge       = 1000

If I submit a pair of jobs to my one-node partition...

WorkVM:~> srun bash

WorkVM:~> srun bash
srun: job 41 queued and waiting for resources

...and wait a few hours, I still see Age=0...

WorkVM:~> sprio -w
          JOBID   PRIORITY        AGE
        Weights                  1000
WorkVM:~> sprio -o "%.10A %.10a"
       AGE        AGE
         0  0.0000000
WorkVM:~> sprio -l
          JOBID     USER   PRIORITY        AGE  FAIRSHARE    JOBSIZE
 PARTITION        QOS   NICE
             41 rothberg          0          0          0          0
   0          0      0

I turned on priority debugging...

WorkVM:~> scontrol show config | grep Debug
DebugFlags              = Priority
SlurmctldDebug          = debug5
SlurmdDebug             = info

Unfortunately, I'm not seeing anything particularly interesting in the
debug log (just periodic messages like: "_pick_best_nodes: job 41
idle_nodes 0 share_nodes 0" and "sched: JobId=41. State=PENDING.
Reason=Resources. Priority=1. Partition=debug.").


I've tried random changes to various priority parameters that by my reading
of the docs shouldn't have any effect (PriorityDecayHalfLife,
PriorityMaxAge, PriorityCalcPeriod), and I've confirmed that they indeed
don't have any effect.  The Age stays stubbornly at 0.


Any thoughts on what I might be doing wrong?


Thanks,
Ed

Reply via email to