From 97400778a72fad5136e323a7067ce500bad63fd7 Mon Sep 17 00:00:00 2001 From: caubet_m Date: Mon, 7 Dec 2020 16:38:25 +0100 Subject: [PATCH] ParaView updated --- pages/merlin6/05 Software Support/paraview.md | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/pages/merlin6/05 Software Support/paraview.md b/pages/merlin6/05 Software Support/paraview.md index fa6d45e..a714c1e 100644 --- a/pages/merlin6/05 Software Support/paraview.md +++ b/pages/merlin6/05 Software Support/paraview.md @@ -13,6 +13,7 @@ permalink: /merlin6/paraview.html **[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 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 @@ -27,20 +28,19 @@ module load paraview/5.8.1 ### 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*. -This is because Merlin is based on RHEL7 (which is a pretty old Operative System) and integrating OpenGL might require major changes. -Hence, for Merlin6 we currently provide **Mesa** support only. We expect that for 2021 it would be also possible to run with OpenGL support. +```bash +vglrun paraview +``` -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 paraview-mesa paraview ``` -As pointed out in the **Requirements** section, NoMachine is the only supported (and performance) way. - #### 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 @@ -50,3 +50,14 @@ for running paraview with **Mesa** support. The command is the following: # Warning: only for Paraview 5.4.1 and older 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.