How-To Run an X11 Application
A wrapper script has been created to run X11 applications, called idev (interactive-development), or nicknamed xrun. This has been installed into /usr/local/bin on login and compute nodes.
To use it, do the following steps:
- Install an X11 server on your desktop or laptop, e.g. “Xming” on Windows, or “XQuartz” on MacOS.
SSHto one of the Talapas login nodes (talapas-ln1.uoregon.edu) with X11 forwarding enabled:- If using the Putty
SSHclient on Windows, make sure that the X11 forwarding box is checked. - If using MacOS or Linux, connect using
ssh -Y
- If using the Putty
- Once on a Talapas login node, you have two options available,
xrunorsrun.- DEPRECATED: Using
xrun, you can pass many of the same arguments toxrunas you can tosrun. - Using
srun, use the--x11flag (available in the Slurm 17.11 module)
- DEPRECATED: Using
- Launch your X11 application, e.g. type
xclock
# I believe this is deprecated. Use srun instead.
xrun -N1 -n1 --time=02:00:00
# This is the more up-to-date command to run.
srun -A hpcrcf -N1 -n1 --time=02:00:00 --x11 --pty bash -i