HPC Grid Tutorial: How to Run an Interactive Job

Interactive jobs can be started using the command: srun -q debug -t 10:0 --pty bash

Jobs require a QoS and a maximum time limit to run. Interactive jobs can be run on the debug QoS, '-q debug'. Time is specified using the '-t, --time=<time>' directive. Acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds". This will spawn a shell where users can execute commands and scripts in real-time. These interactive shells can be used for applications or software that require a graphical display or input from the user.

1. Log on to the Grid.

2. Type: srun -q debug -t 10:0 --pty bash

Image

Image

3. To end the interactive job type: exit

Image