User Tools

Site Tools


users:interactive

Interactive Session

If needed, an interactive shell can be run on a cluster node using the following SURM command (omitting the nodelist argument will let SLURM choose one random free node):

srun -u --partition=interactive --nodelist=node02 --pty bash

You can also require one or more GPUs:

srun -u --partition=interactive --gres=gpu:1 --pty bash
  • -u option turns off buffering of stdout.
  • –partition=interactive select the “interactive” partition (aka queue), which grants the highest chance of being immediately allocated (this partition allows CPUs sharing between more than one job)

Login to the nodes via ssh is disabled.

users/interactive.txt · Last modified: 2016/04/12 08:27 by ecalore