SLURM ACCOUNTING AND PRIORITIES - ciemat-tic/codec GitHub Wiki
Queue configuration
Queue definition in slurm.conf
#default partition
PartitionName=normal Nodes=acme[13-14,21-24] Default=YES MaxTime=24:00:00 State=UP
#express: short jobs
PartitionName=express Nodes=acme[11-14,21-24] MaxTime=00:60:00 State=UP
Accounting and priorities configuration
General configuration
#add cluster
sacctmgr add cluster acme
#add user groups with different priorities
sacctmgr create account name=desarrollo fairshare=10000
sacctmgr create account name=electronica fairshare=1000
User configuration
#add users with their groups and priorities
sacctmgr create user name=slurm cluster=acme account=desarrollo fairshare=100
sacctmgr create user name=u5316 cluster=acme account=desarrollo
sacctmgr create user name=arce cluster=acme account=electronica