User Tools

Site Tools


howto:paraview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:paraview [2017/11/30 15:41]
ccrosby [Parallel Paraview]
howto:paraview [2020/02/18 11:42] (current)
ccrosby [Paraview client in a VNC session]
Line 1: Line 1:
 ====== Running Paraview ====== ====== Running Paraview ======
-There are three Paraview installations:​+There are several ​Paraview installations:​
  
   - A standard binary distribution Paraview-4.3.1 in ''/​apps/​chpc/​compmech/​ParaView-4.3.1-Linux-64bit/​bin''​   - A standard binary distribution Paraview-4.3.1 in ''/​apps/​chpc/​compmech/​ParaView-4.3.1-Linux-64bit/​bin''​
   - A custom compiled Paraview-5.0.1 in ''​apps/​chpc/​compmech/​CFD/​Paraview/​bin''​   - A custom compiled Paraview-5.0.1 in ''​apps/​chpc/​compmech/​CFD/​Paraview/​bin''​
 +  - A standard binary distribution Paraview-5.2.0 in ''/​apps/​chpc/​compmech/​ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit''​
   - A standard binary distribution Paraview-5.3.0 in ''/​apps/​chpc/​compmech/​ParaView-5.3.0_bininstall''​   - A standard binary distribution Paraview-5.3.0 in ''/​apps/​chpc/​compmech/​ParaView-5.3.0_bininstall''​
   - A standard binary distribution Paraview-5.4.1 in ''/​apps/​chpc/​compmech/​ParaView-5.4.1-Qt5-OpenGL-MPI-Linux-64bit''​   - A standard binary distribution Paraview-5.4.1 in ''/​apps/​chpc/​compmech/​ParaView-5.4.1-Qt5-OpenGL-MPI-Linux-64bit''​
 +  - A standard binary distribution Paraview-5.5.0 in ''/​apps/​chpc/​compmech/​ParaView-5.5.0-Qt5-MPI-Linux-64bit''​
 +  - A standard binary distribution Paraview-5.6.0 in ''/​apps/​chpc/​compmech/​ParaView-5.6.0-MPI-Linux-64bit'',​ with the off-screen mesa version in ''/​apps/​chpc/​compmech/​ParaView-5.6.0-osmesa-MPI-Linux-64bit''​
 +
 +
 +These are also available as modules, please use ''​module avail''​. ​ There are two modules for each of Paraview-5.3.0,​ 5.4.1, 5.5.0 and 5.6.0, the second one being appended with ''​-VNC''​. ​ Use this for running Paraview on a viz node. Please refer to the [[http://​www.paraview.org|Paraview web site]] for instructions on using Paraview. ​ For interactive graphics on a virtual desktop, an OpenGL-enabled environment will be required, therefore refer to the page on [[howto:​remote_viz|Remote Visualization]] for instructions on setting up a connection to the visualization node, and running Paraview with the VirtualGL wrapper. Paraview is an extremely versatile post-processor,​ and can be used as the primary visualization tool for a very wide range of applications and file formats, including OpenFOAM, MFix, SU2 and many others. ​
 +
 +===== Paraview client in a VNC session =====
 +For many small to moderate visualization tasks, the user may wish to run the Paraview client directly on the cluster, in a [[howto:​remote_viz|VNC session]]. ​ This can be done easily on one of the visualization nodes chpcviz1 or chpclic1. ​ However, due to high levels of use on these nodes, or a demanding data set, the user may prefer to use a VNC session on a compute node.   This process is [[http://​wiki.chpc.ac.za/​howto:​remote_viz?&#​getting_a_virtual_desktop_on_a_compute_node|documented and straightforward]]. ​ However, this relies on persuading the Paraview client to work properly with the Mesa software rendering libraries. and this procedure fails with the later Paraview versions. ​ The problem is an incompatibility between Mesa, VNC and the Qt-5 library. Older versions that rely on Qt-4 work extremely well on a compute node.  The following versions have been tested.
 +
 +^ Version ^ Paraview Module ​              ​^ ​ GALLIUM_DRIVER ^ Command line ^
 +| 4.3.1 | chpc/​compmech/​Paraview/​4.3.1 ​ | llvmpipe or swr   | paraview ​  |
 +| 5.2.0 | chpc/​compmech/​Paraview/​5.2.0 ​ | llvmpipe or swr   | paraview ​  |
 +
 +
 +
 +
  
  
-These are also available as modules, please use ''​module avail''​. ​ There are two modules for each of Paraview-5.3.0 and 5.4.1, the second one being appended with ''​-VNC''​. ​ Use this for running Paraview on a viz node. Please refer to the [[http://​www.paraview.org|Paraview web site]] for instructions on using Paraview. ​ For interactive graphics on a virtual desktop, an OpenGL-enabled environment will be required, therefore refer to the page on [[howto:​remote_viz|Remote Visualization]] for instructions on setting up a connection to the visualization node, and running Paraview with the VirtualGL wrapper. Paraview is an extremely versatile post-processor,​ and can be used as the primary visualization tool for a very wide range of applications and file formats, including OpenFOAM, MFix, SU2 and many others. ​ 
  
 ===== Parallel Paraview ===== ===== Parallel Paraview =====
-Paraview really comes into its own when it can make use of parallel processing (hence Paraview rather than Serialview, presumably). ​ Limited testing has been done with the standard binary distributions of Paraview-5.3.0 ​and 5.4.1. ​ There are modules for these, ''​module load chpc/​compmech/​Paraview/​5.3.0'' ​or ''​module load chpc/​compmech/​Paraview/​5.4.1'' ​will set up the appropriate environment. ​ There are several ways in which this version of Paraview can be used:  ​+Paraview really comes into its own when it can make use of parallel processing (hence Paraview rather than Serialview, presumably). ​ Limited testing has been done with the standard binary distributions of Paraview-5.3.0,  ​5.4.1 and 5.5.0.  There are modules for these, ''​module load chpc/​compmech/​Paraview/​5.3.0'' ​etc. will set up the appropriate environment. ​ There are several ways in which Paraview can be used:  ​
   - Run on a viz node (chpcviz1 or chpclic1) in single processor mode  ​   - Run on a viz node (chpcviz1 or chpclic1) in single processor mode  ​
   - Run in parallel on viz node   - Run in parallel on viz node
Line 53: Line 69:
   * In this terminal, load up the module ''​module load chpc/​compmech/​Paraview/​5.4.1''​   * In this terminal, load up the module ''​module load chpc/​compmech/​Paraview/​5.4.1''​
   * In this terminal, start up the paraview server with the command <​code>​mpiexec -np 24 pvserver --mpi --mesa-llvm --use-offscreen-rendering</​code>​. ​ Although you will not launch any graphics from this terminal, the software needs the X-capability to be available.   * In this terminal, start up the paraview server with the command <​code>​mpiexec -np 24 pvserver --mpi --mesa-llvm --use-offscreen-rendering</​code>​. ​ Although you will not launch any graphics from this terminal, the software needs the X-capability to be available.
-  * On your workstation,​ build an ssh-tunnel through lengau.chpc.ac.za to port 11111 on cnode1234. ​ Forward this port to port 11111 on your workstation. ​ The command in Linux is ''​ssh -f jbloga@lengau.chpc.ac.za -L 11111:​cnode1234:​11111 -N''​+  * On your workstation,​ build an ssh-tunnel through lengau.chpc.ac.za to port 11111 on cnode1234. ​ Forward this port to port 11111 on your workstation. ​ The command in Linux is ''​ssh -f jblogs@lengau.chpc.ac.za -L 11111:​cnode1234:​11111 -N''​
   * Launch Paraview on your workstation,​ which can be running any operating system that supports Paraview. ​ It does not need to be Linux.  ​   * Launch Paraview on your workstation,​ which can be running any operating system that supports Paraview. ​ It does not need to be Linux.  ​
   * Use the "​Connect"​ menu in Paraview to set up port 11111@localhost as a Paraview server. ​ Connect to this server.   * Use the "​Connect"​ menu in Paraview to set up port 11111@localhost as a Paraview server. ​ Connect to this server.
/var/www/wiki/data/attic/howto/paraview.1512049278.txt.gz · Last modified: 2017/11/30 15:41 by ccrosby