Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix xrun doc

...

If your interactive job will involve a program like rstudio, which uses X11 to provide graphical output, you can use a command like this there are several options.  You can use the srun --x11 flag like so to forward your X11 connection back to your workstation X server.

xrun
Code Block
languagetext
themeEmacs
srun --x11 --pty --partition=short --mem=1024M4G --time=4:00 bash

(Although the other parameters are similar, note that time is in hours rather than minutes for this command.)

In order for this to work correctly, you will need to be running an X server on your local workstation, and you'll have to forward X traffic when you connect to a login node.  This is typically done by using ssh -Y or its equivalentFor some cases, the alternative script xrun works better.

Code Block
languagetext
xrun --partition=short --mem=1024 --time=4 bash

Note that this script supports only a subset of the srun flags and has some quirks.  The --mem value must be a whole number and is in megabytes.  The --time value is in HH:MM format, but if only a whole number is specified, it is take as hours (rather than minutes).

In order for this to work correctly, you will need to be running an X server on your local workstation, and you'll have to forward X traffic when you connect to a login node.  This is typically done by using ssh -Y or its equivalent.

The final option, which is far simpler if it works for your case, is to simply start a desktop session using Open OnDemand.  This does not require an X11 server on your workstation, but rather runs the server on the compute node, forwarding traffic via a web browser-based VNC client.  See the Open OnDemand page for more details.

Requesting Space and Time

...