And interactive job is scheduled onto a worker node just like a regular job. You can provide options to the interactive job just as you would a regular SLURM job.
Priority for short jobs
To run short jobs for testing and development work, a job can specify a different quality of service (QoS). The short QoS increases a jobs priority so it will run as soon as possible.
srun --qos=short --nodes=1 --ntasks-per-node=1 --mem-per-cpu=1024 --pty $SHELL