A Slurm job submission script includes a list of SLURM directives (or commands) to tell the job scheduler what to do. This information, such as user account, cluster partition and QoS (Quality of Service), have to be paired correctly in your job submission scripts. The Slurm command ‘sacctmgr‘ provide accounts, partitions and the QoSs that available to you as a user.
sacctmgr show association -p user=$USER
The command returns the output for a hypothetical example user userA. To be specific, userA has access to a PI Computing Allowance pc_acctB, departmental cluster nano and the condo account lr_acctA with respect to different partitions. Each line of this output indicates a specific combination of an account, a partition, and QoSes that you can use in a job script file, when submitting any individual batch job:
Cluster|Account|User|Partition|Share|…|QOS|…
perceus-00|pc_acctB|userA|ood_inter|1|||||||||||||lr_interactive|||
perceus-00|pc_acctB|userA|cm1|1|||||||||||||cm1_debug,cm1_normal|||
perceus-00|pc_acctB|userA|lr6|1|||||||||||||lr_debug,lr_normal|||
perceus-00|pc_acctB|userA|lr_bigmem|1|||||||||||||lr_normal|||
perceus-00|pc_acctB|userA|lr5|1|||||||||||||lr_debug,lr_normal|||
perceus-00|pc_acctB|userA|lr4|1|||||||||||||lr_debug,lr_normal|||
perceus-00|pc_acctB|userA|lr3|1|||||||||||||lr_debug,lr_normal|||
perceus-00|pc_acctB|userA|cf1|1|||||||||||||cf_debug,cf_normal|||
perceus-00|pc_acctB|userA|es1|1|||||||||||||es_debug,es_lowprio,es_normal|||
perceus-00|nano|userA|ood_inter|1|||||||||||||lr_interactive|||
perceus-00|nano|userA|etna|1|||||||||||||normal|||
perceus-00|nano|userA|etna_gpu|1|||||||||||||normal|||
perceus-00|nano|userA|etna-shared|1|||||||||||||normal|||
perceus-00|nano|userA|etna_bigmem|1|||||||||||||normal|||
perceus-00|nano|userA|vulcan|1|||||||||||||normal,vulcan_debug|||
perceus-00|nano|userA|vulcan_gpu|1|||||||||||||vulcan_gpu|||
perceus-00|nano|userA|vulcan_c20|1|||||||||||||normal|||
perceus-00|nano|userA|nano1|1|||||||||||||nano_debug,normal|normal||
perceus-00|lr_acctA|userA|lr3|1|||||||||||||condo_acctA|||
perceus-00|ac_acctA|userA|ood_inter|1|||||||||||||lr_interactive|||
perceus-00|ac_acctA|userA|cm1|1|||||||||||||cm1_debug,cm1_normal|||
perceus-00|ac_acctA|userA|lr6|1|||||||||||||lr6_lowprio,lr_debug,lr_normal|||
perceus-00|ac_acctA|userA|es1|1|||||||||||||es_debug,es_lowprio,es_normal|||
perceus-00|ac_acctA|userA|cf1|1|||||||||||||cf_debug,cf_lowprio,cf_normal|||
perceus-00|ac_acctA|userA|lr5|1|||||||||||||lr_debug,lr_lowprio,lr_normal|||
perceus-00|ac_acctA|userA|lr4|1|||||||||||||lr_debug,lr_lowprio,lr_normal|||
perceus-00|ac_acctA|userA|lr_bigmem|1|||||||||||||lr_lowprio,lr_normal|||
perceus-00|ac_acctA|userA|lr3|1|||||||||||||lr_debug,lr_lowprio,lr_normal|||
The Account, Partition, and QOS indicate which partitions and QoSes you have access to under each of your account(s).
For more accounting information, see Getting Started.