On Pinnacle/Karpinski we currently only support interactive jobs on single nodes from one core to the number of the cores in the node. So always
srun. MPI is supported, just not multiple-node interactive MPI.
slurm interactive, like
torque interactive, will hang your terminal until the job starts. This example is for an entire node (32 cores or cpus), which is more than a typical requirement for an interactive job (often 1 core).
srun --nodes=1 --ntasks-per-node=1 --cpus-per-task=32 --partition comp06 --time=6:00:00 --pty /bin/bash