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-05 16:11] – [Running ParaView GUI on Farder] mkyle | software:paraview:farber [2021-04-06 20:08] (current) – anita | ||
---|---|---|---|
Line 4: | Line 4: | ||
Below is the list of ParaView version available on Farber as of August 2020. The current default version is 4.1.0 | 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 | + | [traine@farber ~]$ vpkg_versions paraview |
Available versions in package (* = default version): | Available versions in package (* = default version): | ||
Line 16: | Line 16: | ||
</ | </ | ||
- | ==== Running | + | ==== Setting up ParaView |
- | <note tip>The following example will use the user of //traine//. The //traine// user account | + | 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 | ||
+ | </ | ||
+ | |||
+ | === Loading ParaView === | ||
- | 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' | + | The below steps will load the ParaView software into your environment. |
< | < | ||
Line 29: | Line 37: | ||
Adding package `paraview/ | Adding package `paraview/ | ||
(/ | (/ | ||
- | (/ | + | </ |
+ | |||
+ | Now you can run the VNC script '' | ||
+ | |||
+ | < | ||
+ | (/ | ||
New ' | New ' | ||
Line 48: | Line 61: | ||
</ | </ | ||
- | <note important> | + | <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 :1 (that can be found in the above code segment) and we get 5901. | + | The base port for VNC is 5900, add your display number |
- | After running | + | === Setting up SSH Tunuel for VNC Connection === |
+ | After running | ||
- | ==PuTTY== | + | ==Windows (PuTTY)== |
- | Open 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/ | ==Linux/ | ||
Open a new terminal session on your local machine. Set up a SSH Tunnel using the below //ssh// command. | Open a new terminal session on your local machine. Set up a SSH Tunnel using the below //ssh// command. | ||
Line 62: | Line 82: | ||
< | < | ||
- | $ ssh -L 5901: | + | $ ssh -L 5901: |
............................................................ | ............................................................ | ||
Line 78: | Line 98: | ||
............................................................ | ............................................................ | ||
- | [mkyle@farber ~]$ | + | [traine@farber ~]$ |
</ | </ | ||
- | With that SSH tunnel active, my MacBook port 5901 is logically mirroring port 5901 on farber. Now you can open a VNC client | + | <note important> |
+ | Make sure that you leave this tunnel | ||
+ | </note> | ||
- | {{ : | + | === 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> | <note warning> | ||
- | This step will run ParaView on a login node. Login nodes have limits | + | This step will run ParaView on a login node. Login nodes have limited |
</ | </ | ||
- | ==== Close ParaView GUI on Farder | + | |
+ | ==== 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 // | ||
+ | |||
+ | {{ : |