Commit 6b155595 authored by Jan Siwiec's avatar Jan Siwiec

Update paraview.md

parent 349d007b
Pipeline #11415 passed with stages
in 23 minutes and 27 seconds
# ParaView
Open-Source, Multi-Platform Data Analysis and Visualization Application
An open-source, multi-platform data analysis and visualization application.
## Introduction
......@@ -10,24 +10,24 @@ ParaView was developed to analyze extremely large datasets using distributed mem
## Installed Version
Currently, version 5.1.2 compiled with intel/2017a against intel MPI library and OSMesa 12.0.2 is installed on the clusters.
Currently, version 5.1.2 compiled with Intel/2017a against the Intel MPI library and OSMesa 12.0.2 is installed on the clusters.
## Usage
On the clusters, ParaView is to be used in client-server mode. A parallel ParaView server is launched on compute nodes by the user, and client is launched on your desktop PC to control and view the visualization. Download ParaView client application for your OS [here][b].
On the clusters, ParaView is to be used in the client-server mode. A parallel ParaView server is launched on compute nodes by the user and the client is launched on your desktop PC to control and view the visualization. Download the ParaView client application for your OS [here][b].
!!!Warning
Your version must match the version number installed on the cluster.
### Launching Server
To launch the server, you must first allocate compute nodes, for example
To launch the server, you must first allocate compute nodes, for example:
```console
$ qsub -I -q qprod -A OPEN-0-0 -l select=2
```
to launch an interactive session on 2 nodes. Refer to [Resource Allocation and Job Execution][1] for details.
to launch an interactive session on 2 nodes. For details, refer to [Resource Allocation and Job Execution][1] seection.
After the interactive session is opened, load the ParaView module (following examples for Salomon, Anselm instructions in comments):
......@@ -35,7 +35,7 @@ After the interactive session is opened, load the ParaView module (following exa
$ ml ParaView/5.1.2-intel-2017a-mpi
```
Now launch the parallel server, with number of nodes times 24 (16 on Anselm) processes:
Now launch the parallel server, with the number of processes equal to the number of nodes times 24 (16 on Anselm):
```console
$ mpirun -np 48 pvserver --use-offscreen-rendering
......@@ -50,18 +50,18 @@ $ mpirun -np 32 pvserver --use-offscreen-rendering
Accepting connection(s): cn77:11111
```
Note the that the server is listening on compute node r37u29n1006 in this case, we shall use this information later.
Note that in this case, the server is listening on the compute node r37u29n1006, we will use this information later.
### Client Connection
Because a direct connection is not allowed to compute nodes on Salomon, you must establish a SSH tunnel to connect to the server. Choose a port number on your PC to be forwarded to ParaView server, for example 12345. If your PC is running Linux, use this command to establish a SSH tunnel:
Because a direct connection is not allowed to compute nodes on Salomon, you must establish an SSH tunnel to connect to the server. Choose a port number on your PC to be forwarded to ParaView server, for example 12345. If your PC is running Linux, use this command to establish an SSH tunnel:
```console
Salomon: $ ssh -TN -L 12345:r37u29n1006:11111 username@salomon.it4i.cz
Anselm: $ ssh -TN -L 12345:cn77:11111 username@anselm.it4i.cz
```
replace username with your login and r37u29n1006 (cn77) with the name of compute node your ParaView server is running on (see previous step).
replace username with your login and r37u29n1006 (cn77) with the name of the compute node on which your ParaView server is running (see the previous step).
If you use PuTTY on Windows, load Salomon connection configuration, then go to *Connection* -> *SSH* -> *Tunnels* to set up the port forwarding.
......@@ -73,7 +73,7 @@ Now launch ParaView client installed on your desktop PC. Select *File* -> *Conne
![](../../img/paraview_connect_salomon.png "ParaView - Connect to server")
The configuration is now saved for later use. Now click Connect to connect to the ParaView server. In your terminal where you have interactive session with ParaView server launched, you should see:
The configuration is now saved for later use. Now click Connect to connect to the ParaView server. In your terminal where you have the interactive session with the ParaView server launched, you should see:
```console
Client connected.
......@@ -83,7 +83,7 @@ You can now use Parallel ParaView.
### Close Server
Remember to close the interactive session after you finish working with ParaView server, as it will remain launched even after your client is disconnected and will continue to consume resources.
Remember to close the interactive session after you finish working with the ParaView server, as it will remain launched and continue consuming resources even after your client is disconnected.
[1]: ../../general/job-submission-and-execution.md
......
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