Interactive Sessions
Interactive sessions let you run commands and debug directly on compute nodes. Use them for lightweight exploration, testing, and interactive development.
Using srun for interactive shells
GPU interactive session:
srun -A <account> -p debug --gres=gpu:1 --time=00:30:00 --pty bash
CPU-only interactive session:
srun -A <account> -p debug --time=00:30:00 --pty bash
Using salloc for an allocation
If you prefer to obtain an allocation and then connect to the node yourself, request an allocation with salloc:
salloc -A <account> -p debug --gres=gpu:1 --time=00:30:00
After the allocation is granted, find your job with:
squeue -u $USER
Then SSH to the allocated node:
ssh <allocated-node>
You may only SSH into a compute node while that node is reserved for your active job or allocation.