I'm managing a PBS/torque HPC cluster, and now I'm setting up another cluster with SLURM. On the PBS cluster, I can set a queue to accept only interactive jobs by qmgr -c "set queue interactive_q disallowed_types = batch"
and to accept only batch jobs by qmgr -c "set queue cu disallowed_types = interactive"
.
However, I cannot find the equivalent setups with SLURM after browsing through the official SLURM documents.
How can I set up a partition on SLURM cluster to only accept interactive or batch jobs?