[slurm-users] How to get allocated cpu cores for nodes in tres mode

2023-01-19 Thread Lu Weizheng
Hi all.

In my site, I configure the cpu and gpu resources as TRES 
(https://slurm.schedmd.com/tres.html). Multiple jobs can co-run on the same 
node.
The users want to know how many cores remain unallocated when they are 
submitting jobs. This can help them choose which partition to use.
So is there any commands to check remaining cpu cores un allocated?

Thanks!


[slurm-users] modify all users QoS associations

2021-02-23 Thread Lu Weizheng
Hi,
I create a new QoS rule and want everybody can use the QoS
Is there a way to make all users use the new QoS. Not by add association one by 
one like:


sacctmgr modify user crock set qos+=alligator