Permalink
Browse files

[web] Added userguide page about ParaView on envinf1.

  • Loading branch information...
bilke committed Nov 14, 2018
1 parent fd628a7 commit fde99cc9418fe4dc05b2cf6d1229ef1cafd344f7
@@ -107,6 +107,10 @@ staticDir = ["dist", "static"]
name = "Basics"
identifier = "basics"
weight = 1
[[menu.userguide]]
name = "Post Processing"
identifier = "post-processing"
weight = 2
[[menu.userguide]]
name = "Troubleshooting"
identifier = "troubleshooting"
@@ -57,20 +57,3 @@ $ module load ninja/1.4.0-1_gcc_4.8.1_CentOS6
$ module load cmake/3.1.3-1
$ module load gcc/6.2.0-1
```

## Use ParaView

On `envinf1` start ParaView-server with e.g. 4 cores:

```bash
module load paraview/5.0.0-egl
mpirun -np 4 pvserver
```

This starts the server on port 11111. If another user has already started the server you need to start your server on another port with e.g.:

```bash
mpirun -np 4 pvserver --server-port=11112
```

On your local PC start ParaView (you have to use the same version, 5.0.0 in this case). And connect to the server on `envinf1.eve.ufz.de:11111` (or specify another port here).
@@ -0,0 +1,32 @@
+++
date = "2018-11-14T14:00:13+01`:00"
title = "ParaView on envinf1"
author = "Lars Bilke"
weight = 1

[menu]
[menu.userguide]
parent = "post-processing"
+++

Connect to a frontend node and start `pvserver`:

```bash
ssh envinf1.eve.ufz.de -L 11111:envinf1.eve.ufz.de:11111
# OR: ssh frontend2.eve.ufz.de -L 11111:frontend2.eve.ufz.de:11111
# frontend2 has a NVidia K80 vs a K20 in envinf1
ml use /global/apps/modulefiles
ml paraview/egl/5.6.0-1
pvserver
```

On your local machine:

* [Install ParaView 5.6.0](https://www.paraview.org/download/)
* Connect to server
* Add Server
* Host: `localhost`
* Port: `11111`
* Under `Settings / Render View` set `Remote Render Threshold` to a small value (e.g. 1) to ensure remote rendering

The port tunneling with ssh is required as these ports are blocked from the firewall. If port `11111` is already in use by another user just try a different port, e.g. `11112`: `pvserver -sp=11112`. Do not forget to tunnel this port with SSH too!

0 comments on commit fde99cc

Please sign in to comment.