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-12 11:29] – [Setting up ParaView with GUI on Farder] mkyle | software:paraview:farber [2021-04-06 20:08] (current) – anita | ||
---|---|---|---|
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 loose connect | + | Working with ParaView in this method is useful because it creates a more resilient work environment. With this setup if you lose your connection |
<note tip> | <note tip> | ||
- | The following example will use the user of //traine//. The //traine// user account | + | The following example will use the account |
</ | </ | ||
Line 39: | Line 39: | ||
</ | </ | ||
- | Then set run the VNC script, this will setup ParaView' | + | Now you can run the VNC script |
< | < | ||
- | (/ | + | (/ |
New ' | New ' | ||
Line 62: | Line 62: | ||
<note important> | <note important> | ||
- | You will only be asked to set up your password the first time you run paraview-vnc. | + | 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 |
=== 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 // | ||
Line 75: | Line 76: | ||
{{ : | {{ : | ||
- | Add the //Source port// and //Destination// as shown in the image above. Once the data is added click the //Add// button. 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 "Source port" |
==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 102: | Line 103: | ||
<note important> | <note important> | ||
- | Make sure that you leave this tunnel SSH session open and running in the background. If you close out of it you will not be able to connect ParaView on Farber with VNC. | + | 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 === | === Setting Up VNC === | ||
- | Now ParaView is running on port 5901 on Farber. A SSH tunnel is connected on your local machines | + | Now ParaView is running on port 5901 on Farber. A SSH tunnel is connected on your local machine |
- | * Open a VNC viewer software. | + | * Open a VNC viewer |
* Add a new connection to localhost: | * Add a new connection to localhost: | ||
+ | |||
<note tip> | <note tip> | ||
- | If you don't have a VNC software you can visit [[https:// | + | If you don't have a VNC viewer (client) |
</ | </ | ||
- | === Connecting to Paraview GUI with VNC === | ||
- | Once the VNC connection is create 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 // | ||
+ | === 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 '' | ||
{{ : | {{ : | ||
Line 122: | Line 124: | ||
<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 | + | 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 // |
{{ : | {{ : |