Interactive Use
srun
It is possible to submit short interactive tasks using the srun
command, for example:
srun -l -p gpu -n 1 -t <TIME> --gres=gpu:1 -A <ACCOUNT> <APP>
Get an interactive terminal on the “CPU” partition, allocating 8 CPU cores and 2000 MB memory per core, using the default account:
srun -p cpu -c 8 --mem-per-cpu=2000 --pty bash