Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:paraview:farber [2020-08-06 12:59] – [Setting up ParaView with GUI on Farder] mkyle | software:paraview:farber [2021-04-06 20:08] (current) – anita | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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 | ||
+ | < | ||
+ | [traine@farber ~]$ vpkg_versions paraview | ||
+ | Available versions in package (* = default version): | ||
+ | |||
+ | [/ | ||
+ | paraview ParaView - Open Source Scientific Visualization | ||
+ | 4.1 alias to paraview/ | ||
+ | * 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 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Setting up ParaView with GUI on Farber ==== | ||
+ | To use ParaView with a GUI on Farber a couple of steps have to be taken. You will need to load the software into your environment, | ||
+ | |||
+ | Working with ParaView in this method is useful because it creates a more resilient work environment. With this setup if you lose your connection to the network, you will not lose your work. You simple just need to setup the tunnel again and connect with VNC. After completing those steps, you will find your work just as you left it, prior to losing your connection. It is also important that you properly exit ParaView when you are done using it, so that it releases the shared resources. | ||
+ | |||
+ | <note tip> | ||
+ | The following example will use the account //traine//, so you will need to substitute your username when you perform the steps. | ||
+ | </ | ||
+ | |||
+ | === Loading ParaView === | ||
+ | |||
+ | The below steps will load the ParaView software into your environment. | ||
+ | |||
+ | < | ||
+ | [traine@farber ~]$ vpkg_require paraview/ | ||
+ | Adding dependency `openmpi/ | ||
+ | Adding dependency `intel-python/ | ||
+ | Adding dependency `gcc/9.1.0` to your environment | ||
+ | Adding dependency `tcltk/ | ||
+ | Adding package `paraview/ | ||
+ | (/ | ||
+ | </ | ||
+ | |||
+ | Now you can run the VNC script '' | ||
+ | |||
+ | < | ||
+ | (/ | ||
+ | |||
+ | New ' | ||
+ | |||
+ | Starting applications specified in / | ||
+ | Log file is / | ||
+ | |||
+ | You will require a password to access your desktops. | ||
+ | |||
+ | Password: | ||
+ | Verify: | ||
+ | |||
+ | New ' | ||
+ | |||
+ | Starting applications specified in / | ||
+ | Log file is / | ||
+ | |||
+ | </ | ||
+ | |||
+ | <note important> | ||
+ | You will only be asked to set up your password the first time you run '' | ||
+ | </ | ||
+ | |||
+ | The base port for VNC is 5900, add your display number '': | ||
+ | |||
+ | === Setting up SSH Tunuel for VNC Connection === | ||
+ | After running '' | ||
+ | |||
+ | ==Windows (PuTTY)== | ||
+ | Open PuTTY | ||
+ | In addition to your standard connection PuTTY settings you will need to set up the tunnel settings. The image below shows you how this in done in PuTTY. The tunnel setting are found under the Category // | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Add the " | ||
+ | ==Linux/ | ||
+ | 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: | ||
+ | |||
+ | ............................................................ | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | For support, please contact consult@udel.edu | ||
+ | |||
+ | ............................................................ | ||
+ | |||
+ | [traine@farber ~]$ | ||
+ | |||
+ | </ | ||
+ | |||
+ | <note important> | ||
+ | Make sure that you leave this tunnel SSH session open and running in the background. If you close out of it, then you will not be able to connect ParaView on Farber with the VNC viewer (client) software. | ||
+ | </ | ||
+ | |||
+ | === Setting Up VNC === | ||
+ | |||
+ | Now ParaView is running on port 5901 on Farber. A SSH tunnel is connected on your local machine port 5901 and it is mirroring port 5901 on Farber. The last step is to set up your VNC viewer (client) to connect to ParaView on port 5901. These are general steps that should apply to any operating system. | ||
+ | |||
+ | * Open a VNC viewer (client) software. | ||
+ | * Add a new connection to localhost: | ||
+ | |||
+ | <note tip> | ||
+ | If you don't have a VNC viewer (client) software you can visit [[https:// | ||
+ | </ | ||
+ | |||
+ | === Connecting to Paraview GUI with VNC === | ||
+ | Once the VNC connection is created you can use it to open the ParaView GUI. When connecting you will be asked for a password. This password is the one you set the first time you ran '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | <note warning> | ||
+ | This step will run ParaView on a login node. Login nodes have limited resources, and are shared with all users. It's important that once you are done using ParaView that you should close out of the program to free up its resources. If you leave it running too long, then it may be killed by the IT-RCI sysadmin. | ||
+ | </ | ||
+ | |||
+ | ==== Close ParaView GUI on Farber === | ||
+ | |||
+ | It is very important to correctly close out of ParaView when you are done working with it. If ParaView is not closed correctly, then it could continue to use computational resources. To quit ParaView, in the GUI click // | ||
+ | |||
+ | {{ : |