If you are interested to start a remote visual session(VNC) on our GPU nodes( for example to launch VMD, Salome, or MOLDEN). Please, read the following instructions:
As a prerequesite, you need a Linux Pc and a VNC client.
If is your first time starting a VNC server on CSUC HPC you need to set a vnc passowrd through the following the instructions:
Start an interactive session on a GPU node:
salloc -n 24 -N 1 -p gpu --gres=gpu:1 -C vnc -t 2:00:00 |
Run the following commands and follow the screen instructions:
module load tools/turbovnc/2.1.1 vncserver |
If is not your first time starting a VNC server on CSUC HPC: Copy the following script into a slm file and launch it.
#!/bin/bash #SBATCH -C "vnc"
vncserver sleep 1000000 #Wait until time finishes |
NOTICE: Remember to kill your interactive job (scancel JOBID) when you finish the VNC session.
When you were on a VNC session, you shoud see a KDE Desktop environment. To launch a Xwindows application you should launch a terminal, load the module "tools/virtualgl/2.5" and the module of your application. After that type:
vglrun your_app |