<div>Hi Carsten,</div><div> </div><div>thank you very much for pointing me in the right direction. I think this is what I'm looking for and I will try it out.</div><div> </div><div>Best regards</div><div>Peter</div><div> </div><div>29.07.2021, 15:13, "Carsten Beyer" <beyer@dkrz.de>:</div><blockquote><p>Hi Peter,<br /><br />you could create a reservation with scontrol and put only the root user<br />or any other testuser(s) in the 'users' section, e.g.<br /><br />scontrol create reservation=test nodes=<nodename> starttime=<starttime><br />duration=<how-long> users=root<br /><br />Then you need to put the reservation name to your sbatch definition or<br />commandline for your testjob.<br /><br />Cheers,<br />Carsten<br /><br />Am 29.07.2021 um 11:59 schrieb Peter Schmidt:</p><blockquote> Hello everyone,<br /> I have a Slurm GPU cluster that I'm administrating and from time to<br /> time I need to run test jobs. The issue is that my users allocate all<br /> GPUs as soon as they become available, which makes testing for me<br /> impossible.<br /> I could drain a node and wait until all jobs are finished, but as soon<br /> as I enable it again to run my test job the queued user jobs will be<br /> scheduled for that node. Is there a way to drain a node and still be<br /> able to schedule jobs for select users (e.g. root)? I currently don't<br /> have any kind of priority system in my cluster.<br /> Thank you in advance and best regards</blockquote><p> </p>--<br />Carsten Beyer<br />Abteilung Systeme<br /><br />Deutsches Klimarechenzentrum GmbH (DKRZ)<br />Bundesstraße 45a * D-20146 Hamburg * Germany<br /><br />Phone: +49 40 460094-221<br />Fax: +49 40 460094-270<br />Email: <a href="mailto:beyer@dkrz.de" rel="noopener noreferrer">beyer@dkrz.de</a><br />URL: <a href="http://www.dkrz.de/" rel="noopener noreferrer">http://www.dkrz.de</a><br /><br />Geschäftsführer: Prof. Dr. Thomas Ludwig<br />Sitz der Gesellschaft: Hamburg<br />Amtsgericht Hamburg HRB 39784</blockquote>