Hello, we want to know if there is any way for us to give one user more priority to the cluster so that user can submit jobs and get infront of the queue line. If that is possible it would be good if you can give us information on how to do that or how to implement that into our Slurm cluster. regards, Hjalti Sveinsson
Using the multifactor priority plugin and accounting, you can create a qos for the user and give the qos a higher priority. http://slurm.schedmd.com/priority_multifactor.html ex. slurm.conf: AccountingStorageType=accounting_storage/slurmdbd PriorityType=priority/multifactor PriorityWeightQOS=1000 Add the qos to accounting: $ sacctmgr add qos special Adding QOS(s) special Settings Description = QOS Name Would you like to commit changes? (You have 30 seconds to decide) (N/y): y $ sacctmgr modify qos special set priority=100 Modified qos... special Would you like to commit changes? (You have 30 seconds to decide) (N/y): y $ sacctmgr show qos special format=name,priority Name Priority ---------- ---------- special 100 Add the qos to the user association: $ sacctmgr modify user brian set qos+=special Modified user associations... C = compy A = normal U = brian Would you like to commit changes? (You have 30 seconds to decide) (N/y): y $ sacctmgr show assoc where user=brian format=User,QOS User QOS ---------- -------------------- brian normal,special Submit jobs using the qos: $ sbatch --qos=special --wrap="sleep 600" Submitted batch job 86 $ sprio JOBID PRIORITY AGE FAIRSHARE JOBSIZE PARTITION QOS 83 576 0 67 10 500 0 84 576 0 67 10 500 0 85 576 0 67 10 500 0 86 1638 0 133 6 500 1000 Let me know if you have any questions. Thanks, Brian
Please reopen if you have any more questions. Thanks, Brian