| Summary: | Increase priority for a specific user | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Hjalti Sveinsson <hjalti.sveinsson> |
| Component: | Scheduling | Assignee: | Brian Christiansen <brian> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | brian, da, hjalti.sveinsson, kolbeinn.josepsson |
| Version: | 14.03.5 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | deCODE | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
Hjalti Sveinsson
2015-05-04 04:25:17 MDT
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 |