creating umrcp hpc accounts - raeker/ARC-Wiki-Test GitHub Wiki
A UMRCP request may contain up to two HPC requests. These will be shown as Tasks on the ticket. Inside the task there is information known as a blob. The blob is what gets submitted to the slurm_ops database to be used to billing.
The steps show below are the same on Great Lakes and Armis2.
- *IMPORTANT: if an account is requested on both clusters you have to pay attention to the amount of hours that are shown on the UMRCP ticket zero. The full award is 80000 hours and it can be split up however the user sees fit. ***
The process for creating a UMRCP account is the same as any other account with a few differences:
- The UMRCP account must end in a
0, otherwise the script will error out. - You must specify the
-roption to indicate the account is a UMRCP account. - You must also specify the
-Hoption with the amount of CPU hours the account will get.
The script will convert the CPU hours into a billing limit and set it appropriately onto the account. Example:
$ sudo /usr/arcts/systems/scripts/addSlurmAccount.sh -a cgbriggs0 -o arcts -r -H 80000 Adding UMRCP Account cgbriggs0 to cgbriggs_root with limits ( GrpTRESMins=billing=12022222224 ) on greatlakes /opt/slurm/bin/sacctmgr -i add account cgbriggs0 organization='arcts' parent=cgbriggs_root cluster=greatlakes Description='UMRCP' GrpTRESMins=billing=12022222224 Adding Account(s) cgbriggs0 Settings Description = umrcp Organization = arcts Associations A = cgbriggs0 C = greatlakes Settings GrpTRESMins = billing=12022222224 Parent = cgbriggs_root $ sacctmgr show account cgbriggs0 Account Descr Org ---------- -------------------- -------------------- cgbriggs0 umrcp arcts $ sacctmgr list assoc account=cgbriggs0 format=cluster,account,grptresmins -P Cluster|Account|GrpTRESMins greatlakes|cgbriggs0|billing=12022222224
UMRCP accounts are allotted an annual amount of 80,000 core hours. This amount may be allocated 100% to Great Lakes, 100% to Armis2, or some other ration between the two. Pay close attention to the hours requested for the account you are creating.
For the organization (-o) use check the ticket for the user's department. Any organization that contains more than one word must be put in quotes:
- $ sudo /usr/arcts/systems/scripts/addSlurmAccount.sh -a cgbriggs0 -o "literature science arts" -r -H 80000
The full list is as follows:
architecture urban planning arcts art design business dearborn dentistry education engineering environment sustainability information inst social research its kinesiology law school life sciences institute literature science arts matthaei botanical gardens medicine music theatre dance nursing office research pharmacy public health public policy rackham school root social work transportation research inst um dearborn um flint umor
To submit the blob information to the slurm_ops database do the following:
- Copy all the information from the blob into your clipboard.
- On gl-build enter this into the command line
- sudo python3 /usr/arcts/systems/scripts/addSlurmOps.py "
- After the quotation mark paste the information from the blob.
- At the end of the last line of the blob (the one starts with I
prefer an additional...) add a quote at the end after the colon and
then hit enter. You should get a confirmation like the following
with the appropriate account name:
- Successfully added xianglei2 to the database