CPU budget

Each project has a fair share of the available CPU and disk resources. To see your CPU budget, run

$ scontrol -M c2pap show assoc_mgr accounts=<project_id> flags=assoc user=dummy

The parameter GrpTRESMins shows your assigned budget in CPU minutes.

Example: you get output like
GrpTRESMins=cpu=54600000(54566505),mem=N(55540907350),energy=N(0),....

Then 54600000 CPU mins is the assigned budget and 54566505 CPU mins had been used and the diff (= 33495 mins) are left

Find your project id

Every user account is mapped to exactly one project and a corresponding user group. Find your project ID by inspecting the output of id, such as

$ id
uid=3367554(<user_id>) gid=3367553(<project_id>) groups=3367553(<project_id>)

Extract the numerical gid automatically with

$ id | sed 's/^.*=//;s/(.*$//' 

Find users in a group

$ getent group <project_id> # project name
$ getent passwd <user_id> # user name
$ for usr in $(ls -l /gpfs/scratch/<project_id>/ | awk '{print $9}'); do getent passwd $usr ; done



  • Keine Stichwörter