Multiple Project Usage
Users with multiple project access have multiple Slurm accounts. For each project, the Slurm account is unique. The users on the same project have the same Slurm account.
The default account is usually set on the first approved project and can be changed by sending a request to support@sling.si
.
Users can get information of their Slurm accounts with commands:
sacctmgr show assoc cluster=vega user=$USER format=account%40 -n
This is very important, because users with multiple project access in order to send jobs on the right project must use the flag --account
in the srun
and sbatch
command.
Using flag --account
enabling usage of resources on the right project. If the user does not set flag --account
, then the job will be sent on the default set account, project.
SBATCH example for multiple project access:
#!/bin/bash
#SBATCH --job-name=my_job
#SBATCH --account=example
#SBATCH --partition=cpu
#SBATCH --cpus-per-task=12
#SBATCH --mem=32GB
#SBATCH --time=01:00:00