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 10:31] – [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: | ||
</ | </ | ||
- | ==== Setting up ParaView with GUI on Farder | + | ==== Setting up ParaView with GUI on Farber |
- | To use ParaView with a GUI on Farber a couple of steps have to be taken to load the software into your environment, | + | 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> | <note tip> | ||
- | The following example will use the user of //traine//. The //traine// user account | + | The following example will use the account |
</ | </ | ||
=== Loading ParaView === | === Loading ParaView === | ||
- | The below steps will set up load the ParaView software into your environment. | + | The below steps will load the ParaView software into your environment. |
< | < | ||
Line 37: | Line 39: | ||
</ | </ | ||
- | Then set run the vnc scripts which will setup ParaView' | + | Now you can run the VNC script '' |
< | < | ||
- | (/ | + | (/ |
New ' | New ' | ||
Line 59: | 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 '': | ||
- | 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. | ||
=== Setting up SSH Tunuel for VNC Connection === | === Setting up SSH Tunuel for VNC Connection === | ||
- | After running | + | 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 // | + | 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 // |
- | {{ : | + | {{ : |
- | After you add this setting to your session you can save them or just open the session. You will have to leave this session open and open a VNC Client | + | 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 77: | Line 82: | ||
< | < | ||
- | $ ssh -L 5901: | + | $ ssh -L 5901: |
............................................................ | ............................................................ | ||
Line 93: | Line 98: | ||
............................................................ | ............................................................ | ||
- | [mkyle@farber ~]$ | + | [traine@farber ~]$ |
</ | </ | ||
- | === Connecting | + | <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. | ||
+ | </ | ||
- | 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 " | + | === 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 // | ||
+ | |||
+ | {{ : |