[slurm-users] Add partition to existing user association
Dori Sajdak
djm29 at buffalo.edu
Fri Jan 21 17:43:30 UTC 2022
Hi Thekla,
When it comes to partitions, I believe you need to specify the cluster so in your example:
sacctmgr modify user thekla account=ops set partition=gpu where cluster=YourClusterName
QOS is not tied to a specific cluster but partitions are. That should work for you.
Dori
***************************************
Dori Sajdak (she/her/hers)
Senior Systems Administrator
Center for Computational Research
University at Buffalo, State University of New York
701 Ellicott St
Buffalo, New York 14203
Phone: (716) 881-8934
Fax: (716) 849-6656
Web: http://buffalo.edu/ccr
Help Desk: https://ubccr.freshdesk.com
Twitter: https://twitter.com/ubccr
***************************************
-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Thekla Loizou
Sent: Friday, January 21, 2022 9:12 AM
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] Add partition to existing user association
Dear all,
I was wondering if there is a way to add a partition to an existing user association.
For example if I have an association of user thekla to an account ops I can set a qos for the existing association:
sacctmgr modify user thekla account=ops set qos=nosubmit
Modified user associations...
C = cyclamen A = ops U = thekla
However, I cannot set a partition:
sacctmgr modify user thekla account=ops set partition=gpu
Unknown option: partition=gpu
Use keyword 'where' to modify condition
This is not possible?
The only solution I found to that is to delete the association and create it again with the partition:
sacctmgr del user thekla account=ops
sacctmgr add user thekla account=ops partition=gpu
Thank you,
Thekla
More information about the slurm-users
mailing list