Springe direkt zu Inhalt

Interactive Jobs

In general interactive jobs should be avoided wherever possible.  They should only be used when there is an actual need to interact with the program, such as when one is programming or doing other development work, or if a program has no command-line interface and must be controlled via a GUI.  Furthermore, the run-time should correspond to the period one is actually planning to work.  Any period greater than 10 hours will generally be regarded as implausible.

Nevertheless, interactive jobs can be run within the queuing system by using the command salloc, e.g. a shell can be started with the following command:

salloc --partition=interactive --ntasks=1 --time=00:30:00 --mem=1000 --qos=standard

Interactive jobs can also be started in other partitions, but there are more likely to be free resources in interactive.

For an interactive job with a GPU, the partition gpu must be specified and a GPU requested via the option --gres:

salloc --partition=gpu --gres=gpu:1 --ntasks=1 --time=00:30:00 --mem=1000 --qos=standard