Project Codes
Each compute job at TCHPC needs to be allocated to a project.
- Apply for a project code.
Batch Submission
Please add the '-U' parameter to your batch submission script.#SBATCH -n 16 #SBATCH -t 10:00:00 #SBATCH -p compute #SBATCH -U project_code
Command Line resource requests
Please use the '-U' parameter when requesting resources via srun or salloc.srun -N 8 -p compute -t 10:00:00 -U project_code
salloc -N 8 -p compute -t 10:00:00 -U project_code
Which codes can I use, and what are my balances?
To see a list of project codes available to you, use thesbank balance statement command.
For example :
[user01@lonsdale01 ~]$ sbank balance statement User Usage | Account Usage | Account Limit Available (CPU hrs) ---------- ----------- + ---------------- ----------- + ------------- ----------- user01 10,003 | HPC_10_00248 0 | 400,000 389,997 user01 4 | HPC_11_00991 0 | 400,000 399,996
See here for more details on slurm bank.
Error reported with invalid code
If you're trying to use an invalid code, or if you have yet to apply for one, you will see the following error message:
If using sbatch:
sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified
If using salloc:
salloc: error: Failed to allocate resources: Invalid account or account/partition combination specified