Every user of Idun has at least one allocation account. These accounts are used to keep track of the consumed resources, such as CPU days or memory, and should be specified at every job submission using the -A
or --account
flag:
#!/bin/sh #SBATCH --account=<account> ...
The account is then debited with the consumed resources after a job finished. If no account is specified at job submission, then a user's default account is used.
How can I find my accounts?
$ sacctmgr show assoc where user=<username> format=account Account ---------- propulse ie-idi support mh-ikom
What is my default account?
$ sacctmgr show user <username> format=defaultaccount Def Acct ---------- support
Account Types
We distinguish between two different types of allocation accounts:
- Shareholder accounts: These accounts start with a
share-
and correspond to a shareholder's contribution in the cluster. Such an account comes with a high priority on job submission, but has only a limited amount of CPU days. Once these days are consumed, then no job can be submitted with this account until the account is reset. Currently, shareholder accounts are reset at beginning of every month. - Default accounts: All accounts that do not start with a
share-
are default accounts. These accounts come with a low priority on job submission, but have no limitations in terms of consumption.
Every user has at least one default account. If a user is also part of a group/department/faculty that has a share in Idun, then he/she has also one or more shareholder accounts. Jobs submitted with shareholder accounts receive a priority boost on submission and should (generally) be scheduled before jobs submitted with default accounts. If the resources of a shareholder account are consumed and more compute time is needed, then users can switch to the default accounts.
How can I see account quotas and consumption?
Simply run idun-slurm-quota
on one of the login nodes:
$ idun-slurm-quota Account Used Quota ================================================================== root 1204-2:23:52 - hpc 1204-2:23:52 - ad-iat 0-0:0:0 - hf-isl 0-0:0:0 - ie-idi 102-10:27:5 - ie-iel 0-0:0:0 - ie-ies 0-0:0:0 - ie-iik 0-0:0:0 - ie-imf 7-19:49:0 - ie-imf-tma4280 0-0:0:0 - ie-itk 0-0:0:0 - iv-ept 90-13:18:40 - iv-ibm 0-0:0:0 - iv-igp 0-0:0:0 - iv-ikt 0-0:0:0 - iv-imt 239-20:6:40 - iv-mtp 18-17:6:20 - mh-ikom 0-0:0:0 - mh-kin 35-1:19:11 - nv-bio 0-0:0:0 - nv-fys 626-10:50:48 - nv-iba 0-0:0:0 - nv-ibf 0-0:0:0 - nv-ibt 0-0:0:0 - nv-ikj 0-0:0:0 - nv-ikp 28-4:12:32 - nv-ima 54-23:29:46 - ok-hhs 0-0:0:0 - propulse 0-0:0:0 - su-geografi 0-0:0:0 - su-ilu 0-0:0:0 - support 0-1:46:32 - test 0-0:1:1 - share-ie-idi 0-0:0:0 29884-0:0:0 share-ie-imf 0-0:0:0 2356-0:0:0 share-iv-ept 0-0:0:0 3720-0:0:0 share-iv-mtp 0-0:0:0 4340-0:0:0 share-mh-ikom 0-0:0:0 310-0:0:0 share-nv 0-0:0:0 4960-0:0:0 share-nv/bio 0-0:0:0 - share-nv/fys 0-0:0:0 - share-nv/iba 0-0:0:0 - share-nv/ibf 0-0:0:0 - share-nv/ibt 0-0:0:0 - share-nv/ikj 0-0:0:0 - share-nv/ikp 0-0:0:0 - share-nv/ima 0-0:0:0 - share-nv-ima 0-0:0:0 1240-0:0:0
Run idun-slurm-quota --help
for clarifications regarding the tool's output.