[slurm-users] Allowing scheduling on a node for specific users
beyer at dkrz.de
Thu Jul 29 13:10:04 UTC 2021
you could create a reservation with scontrol and put only the root user
or any other testuser(s) in the 'users' section, e.g.
scontrol create reservation=test nodes=<nodename> starttime=<starttime>
Then you need to put the reservation name to your sbatch definition or
commandline for your testjob.
Am 29.07.2021 um 11:59 schrieb Peter Schmidt:
> Hello everyone,
> I have a Slurm GPU cluster that I'm administrating and from time to
> time I need to run test jobs. The issue is that my users allocate all
> GPUs as soon as they become available, which makes testing for me
> I could drain a node and wait until all jobs are finished, but as soon
> as I enable it again to run my test job the queued user jobs will be
> scheduled for that node. Is there a way to drain a node and still be
> able to schedule jobs for select users (e.g. root)? I currently don't
> have any kind of priority system in my cluster.
> Thank you in advance and best regards
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstraße 45a * D-20146 Hamburg * Germany
Phone: +49 40 460094-221
Fax: +49 40 460094-270
Email: beyer at dkrz.de
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5316 bytes
Desc: S/MIME Cryptographic Signature
More information about the slurm-users