running interactive jobs


Find instructions and examples on how to use SLURM commands to request interactive jobs. Interactive jobs provide a shell prompt, which allows users to execute commands and scripts as they would on the login nodes.
Login nodes are primarily intended to be used for logging in, editing scripts, and submitting batch jobs. Interactive work that involves substantial resources—either memory, CPU cycles, or file system I/O—should be performed on the compute nodes rather than on login nodes.
Interactive jobs may be submitted to any partition and are subject to the same time and node limits as non-interactive jobs.

Example:

srun –partition=day –pty –nodes=1 –ntasks-per-node=4 –mem=8G -t 00:30:00 –wait=0 /bin/bash