This is an old revision of the document!
Paraview on Farber
Available ParaView Versions
Below is the list of ParaView version available on Farber as of August 2020. The current default version is 4.1.0
[mkyle@farber ~]$ vpkg_versions paraview Available versions in package (* = default version): [/opt/shared/valet/2.0.1/etc/paraview.vpkg_json] paraview ParaView - Open Source Scientific Visualization 4.1 alias to paraview/4.1.0 * 4.1.0 Version 4.1.0 packaged binary distribution 5.4.0 Version 5.4.0 packaged binary distribution 5.8.0 Local build with Qt5, Open MPI, various extensions
Running ParaView GUI on Farder
To use ParaView with a GUI on Farber a script has been created to run ParaView with vnc. The below steps will set up load the ParaView software into your environment. Then set run the vnc scripts which will setup ParaView's GUI to run with VNC.
[traine@farber ~]$ vpkg_require paraview/5.8.0 Adding dependency `openmpi/3.1.6:fca,hcoll,mxm` to your environment Adding dependency `intel-python/2019.5.098:python3` to your environment Adding dependency `gcc/9.1.0` to your environment Adding dependency `tcltk/8.6.10` to your environment Adding package `paraview/5.8.0` to your environment (/opt/shared/paraview/5.8.0) [traine@farber ~] (/opt/shared/paraview/5.8.0) [traine@farber ~]paraview-vnc New 'login000:1 (traine)' desktop is login000:1 Starting applications specified in /opt/shared/paraview/5.8.0/bin/paraview-xstartup Log file is /home/1201/.vnc/login000:1.log You will require a password to access your desktops. Password: Verify: New 'login000:1 (traine)' desktop is login000:1 Starting applications specified in /opt/shared/paraview/5.8.0/bin/paraview-xstartup Log file is /home/1201/.vnc/login000:1.log
The base port for VNC is 5900, add your display number :1 (that can be found in the above code segment) and we get 5901.
After running the paraview-vnc the GUI you will need to set up tunnel. The steps on how to do this will are shown below for the PuTTY SSH client and Linux/Mac Terminals.
PuTTY
Open Putty
Linux/Mac
Open a new terminal session on your local machine. Set up a SSH Tunnel using the below ssh command. The base port for VNC is 5900, add your display number :1 and we get 5901.
$ ssh -L 5901:localhost:5901 mkyle@farber.hpc.udel.edu ............................................................ Farber cluster (farber.hpc.udel.edu) This computer system is maintained by University of Delaware IT. Links to documentation and other online resources can be found at: http://farber.hpc.udel.edu/ For support, please contact consult@udel.edu ............................................................ [mkyle@farber ~]$
With that SSH tunnel active, my MacBook port 5901 is logically mirroring port 5901 on farber. Now you can open a VNC client on your local machine that views the Paraview VNC display (e.g. command-K in the Finder, use URL "vnc://localhost:5901").