ParaView updated

This commit is contained in:
caubet_m 2020-12-07 16:38:25 +01:00
parent 50cde15b59
commit 97400778a7

View File

@ -13,6 +13,7 @@ permalink: /merlin6/paraview.html
**[NoMachine](/merlin6/nomachine.html)** is the official **strongly recommended and supported** tool for running *ParaView*. **[NoMachine](/merlin6/nomachine.html)** is the official **strongly recommended and supported** tool for running *ParaView*.
Consider that running over SSH (X11-Forwarding needed) is very slow, but also configuration might not work as it also depends Consider that running over SSH (X11-Forwarding needed) is very slow, but also configuration might not work as it also depends
on the client configuration (Linux workstation/laptop, Windows with XMing, etc.). Hence, please **avoid running Paraview over SSH**. on the client configuration (Linux workstation/laptop, Windows with XMing, etc.). Hence, please **avoid running Paraview over SSH**.
The only exception for running over SSH is when running it as a job from a NoMachine client.
## ParaView ## ParaView
@ -27,20 +28,19 @@ module load paraview/5.8.1
### Running ParaView ### Running ParaView
For running ParaView, one needs to run it with **Mesa** support. For running ParaView, one can run it with **VirtualGL** to take advantatge of the GPU card located on each login node. For that, once loaded, you can start **paraview** as follows:
The *OpenGL* version runs with just the *paraview* command, however, *Paraview with OpenGL support will not work on the Merlin6 login nodes*. ```bash
This is because Merlin is based on RHEL7 (which is a pretty old Operative System) and integrating OpenGL might require major changes. vglrun paraview
Hence, for Merlin6 we currently provide **Mesa** support only. We expect that for 2021 it would be also possible to run with OpenGL support. ```
As said, for running ParaView in Merlin6, on needs to run with Mesa support, and can be done as follows: Alternatively, one can run **paraview** with *mesa* support with the below command. This can be useful when running on CPU computing nodes (with `srun` / `salloc`)
which have no graphics card (and where `vglrun` is not possible):
```bash ```bash
paraview-mesa paraview paraview-mesa paraview
``` ```
As pointed out in the **Requirements** section, NoMachine is the only supported (and performance) way.
#### Running older versions of ParaView #### Running older versions of ParaView
Older versions of ParaView available in PModules (i.e. *paraview/5.0.1* and *paraview/5.4.1*) might require a different command Older versions of ParaView available in PModules (i.e. *paraview/5.0.1* and *paraview/5.4.1*) might require a different command
@ -50,3 +50,14 @@ for running paraview with **Mesa** support. The command is the following:
# Warning: only for Paraview 5.4.1 and older # Warning: only for Paraview 5.4.1 and older
paraview --mesa paraview --mesa
``` ```
#### Running ParaView interactively in the batch system
One can run ParaView interactively in the CPU cluster as follows:
```bash
# First, load module. In example: "module load paraview/5.8.1"
srun --pty --x11 --partition=general --ntasks=1 paraview-mesa paraview
```
One can change the partition, number of tasks or specify extra parameters to `srun` if needed.