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
For quick interactive tests you can also use the test partition (maximum walltime: 1 hour):
srun -p test -c 4 --mem-per-cpu=2000 --time=00:30:00 --pty bash
The test partition runs on a GPU node, so you can request GPUs as well:
srun -p test --gres=gpu:1 --time=00:30:00 --pty bash