PS.. please note the typo in my sbatch command.. it should be....

sbatch -A gpuusers slurm.serial

David

From: Baker D.J.
Sent: Wednesday, February 15, 2017 2:32 PM
To: slurm-dev <[email protected]>
Subject: Configuring slurm accounts

Hello,

I'm attempting to configure a slurm account and I suspect I'm missing something 
fundamental. As a test I've created a partition called "gpus", a QOS called 
"fast" and an account called "gpuusers". I'm attempting to ensure that the 
member of the account, gpuuser, only have access to the partition, gpus, with 
QOS fast. So this is what I tried..

sacctmgr -i add qos name=fast ...
sacctmgr create account gpuusers DefaultQOS=fast
sacctmgr modify account gpuusers set qoslevel=fast
sacctmgr add user djb1 account=gpuusers Partition=gpus

I'm I correct in thinking that those associations  limit members of the account 
to the partition gpus with QOS=fast or have I made a fundamental error? When I 
try to submit a job as djb1, for example "sbatch -q gpuusers slurm.serial", I 
find....

sbatch: error: Batch job submission failed: Invalid account or 
account/partition combination specified

Any help with this would be appreciated, please.

Best regards,
David

Reply via email to