Commit c23d3a96 authored by Kenneth Loenbaek's avatar Kenneth Loenbaek
Browse files

Added instruction for Remote connect to Readme

parent 06879434
......@@ -31,6 +31,68 @@ by default is set to *vtkBlockColors*. The representation can be changed from th
## Dedicated filters
Non - yet.
## Running Paraview remotely on Jess
It is possible to have Paraview on Jess where all the data and rendering is done at Jess and the client is only
displaying the rendering. (This avoids the need to transfer the data from Jess to your own computer). <br>
We need to set it up at both *Jess* and your *Desktop*. Starting with Jess. (It should be noted that Paraview version
on Jess and the Desktop should be the same)
#### Set up on Jess
To set it up you will need to clone this repo to Jess and set the following two variables in the .bashrc (on Jess):
1. PARAVIEW_ELLIPSYS_EXT
2. PARAVIEW_PATH
Where PARAVIEW_ELLIPSYS_EXT is the path to this repo on Jess, and PARAVIEW_PATH is the path to the Paraview installation.
<br>
As an example
```bash
# at the end of .bashrc
PARAVIEW_ELLIPSYS_EXT="/path/to/ellipsys_paraview_plugin"
PARAVIEW_PATH="/path/to/Paraview"
```
#### Set up on Desktop
Assuming you already had cloned this repo to your desktop you should open Paraview and add the *servers.pvsc* file.
To do that open the *Connect...* from `File->Connect...` this will open the *Chosse Server Configuration* window. From
here you should press *Load Servers* and navigate to the *servers.pvsc* file in this repo. In the *Chosse Server C
onfiguration* window you should now have two configurations, namely: *Jess Login Node* and *Jess Node j*.
#### Starting a remote connection
##### Testing the set up
To test if the set up works select the *Jess Login Node* in the *Chosse Server Configuration* window and press Connect.
A dialog should now pop up asking for your Username (the name you use for ssh to Jess). When clicking OK a
terminal should popup asking for password to ssh into Jess. The terminal should then display the Paraview version and
then write something like:
```shell
paraview version 5.8.0
Waiting for client...
Connection URL: cs://jess.dtu.dk:11112;
Accepting connection(s): jess.dtu.dk:11112
```
It will then take a couple of secounds and you should see that in the *Pipeline Browser* the following should change
*builtin->Jess Login Node(cs://jess.dtu.dk:11112)*. <br>
No data should be loaded on the *Login Node* and it should only be used for testing if the set up work,
since all work will be done on the *Login Node*. Use a interactive qsub session instead. See below.
##### Connecting to an interactive qsub session
Before you can connect to an interactive qsub session you need to start one, by ssh to Jess and start an interactive qsub
session with a command like:
```bash
qsub -I -q workq -l nodes=1:ppn=1 -l walltime=08:00:00
```
Now you should be logged into a computing node. You need the name of the node for later which can be seen from your
terminal as `[username@j-XXX ~]$` where `j-XXX` is the name of the node. <br>
Back in Paraview (on your desktop) you open the *Chosse Server Configuration* window and choose the *Jess Node j* configuration and press
connect. A popup asks for *Username* and the *Node* (the node name should be with j-). When clicking OK a
terminal should popup asking for password to ssh into Jess. The terminal should then display something like:
```shell
paraview version 5.8.0
Waiting for client...
Connection URL: cs://j-XXX:11113
Accepting connection(s): j-XXX:11113
```
It will then take a couple of secounds and you should see that in the *Pipeline Browser* the following should change
*builtin->Jess Node j(cs://jess.dtu.dk:11113)*. Now you are logged into Jess and you should see that the file browser
is browsing the files on there. You need to load the plugin on the server as well (it should only be necessary to load
it the first time you log on to it).
## Uninstalling the plugin
To uninstall the plugin you will have to navigate to the Plugin Manager (*Tools/Manage Plugins*) and select the
*EllipsysParaviewPlugin* and click the *Remove* button.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment