Key

Adding Compression yes enables compression of the SSH connection along with any X11 traffic.

X11 and Slurm

There are several flags that pertain to X11 that are accepted by srun and sbatch:

–-x11=first

This is the default, and provides X11 forwarding to the first compute hosts allocated. This is the flag utilized when requesting X11-enabled interactive session, as seen above.

–-x11=last

This provides X11 forwarding to the last of the compute hosts allocated.

–-x11=all

This provides X11 forwarding from all allocated compute hosts, which can be quite resource heavy and is an extremely rare use-case.

–-x11=batch

This supports use in a batch job submission, and will provide X11 forwarding to the first node allocated to a batch job.

In general, you should only ever need either first or batch (recall that using --x11 with no parameter defaults behavior to first). If you think you might require last or all, please contact us so we can assist you with setting up your workflow.