I have a user who is running jobs using the incorrect file system (i.e. NFS vs fast parallel) and need to temporarily disable their ability to submit jobs until they have confirmed that they corrected their job scripts. In SGE I'd add the user account to the xuser_lists for the queue. What is the procedure to do so in Slurm?
There's no user-specific blocklist like xuser_lists in Slurm. A quick way to block their jobs from running: 'sacctmgr update user tim set maxjobs=0' They'll still be queued, but none can run until that's lifted. You could 'scancel -u tim' to clear all their jobs, and to lift the restriction run 'sacctmgr update user tim set maxjobs=-1'.
Perfect, Thanks. For some reason I was convinced 'scontrol' was the command I needed.
I just remembered that setting the 'maxsubmitjobs=0' limit would be even better; it'd prevent anything from being queued. For future requests, can you please spend a few minutes consulting the documentation? While we try to answer all questions, this doesn't strictly fall under our "Level 3" support model, and take me away from resolving other issues. (https://www.schedmd.com/support.php) cheers, - Tim