Run Interactive Jobs from Command Line (salloc)

Run Interactive Jobs from Command Line (salloc)

Overview

This page details how to run an interactive job from an SSH connection to an ARCC cluster using the salloc command.

Assuming

Directions start from the assumption you have already ssh’ed into the HPC cluster, or connected to OnDemand and opened the shell access app (MBshellaccessappicon.png). If you have not yet logged into the cluster, start here

Directions

A basic interactive job requires running just one command: salloc and specifying with it, two flags (account and walltime).
Example requesting an interactive session to run for 10 minutes, with the awesomelab account:

[jsmith@clustername ~]$ salloc -A awesomelab -t 00:10:00 salloc: time_limit: 10.0 salloc: Granted job allocation 123456 salloc: Nodes clusternode-003 are ready for job

Interactive jobs can be specified with a number of directives and flags, as shown in this documentation