Visualization on computational nodes
X11 forwarding is available on the compute and GPU nodes of Elja. To use this feature a few steps are needed to create a "double tunnel" that looks something like this:
compute-node -> login-node -> local-machine
- First, connect with the -XY flag as stated in previous chapters or using XLaunch with PuTTy.
- Using
srunallocate and connect to a compute node with thex11flag set.
srun -n 1 --partition 48cpu_192mem --x11 --pty bash
You should now be connected to a compute node. Given that you have loaded some GUI program you will be able to run that on the compute node.
Example:
For this example a user will run the graphical program QGIS (an Open-Source Geographic Information System).
[user ~] ssh -XY user@elja.hi.is
[user@elja-irhpc ~]$ ml load QGIS
[user@elja-irhpc ~]$ srun -n 1 --partition gpu-1xA100 --x11 --pty bash
[user@gpu-2 ~]$ qgis # QGIS now opens up on my local machine