This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:paraview [2020/02/14 14:18] ccrosby [Parallel Paraview] |
howto:paraview [2020/05/13 19:03] (current) ccrosby [Parallel Paraview] |
||
---|---|---|---|
Line 4: | Line 4: | ||
- 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.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'' | - 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'' | ||
+ | - A standard binary distribution Paraview-5.7.0 in ''/apps/chpc/compmech/ParaView-5.7.0-MPI-Linux-Python3.7-64bit'' | ||
+ | - A standard binary distribution Paraview-5.8.0 in ''/apps/chpc/compmech/ParaView-5.8.0-MPI-Linux-Python3.7-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. | + | 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, 5.6.0, 5.7.0 and 5.8.0, the second one being appended with ''-VNC''. Use this for running Paraview with the Nvidia graphics card 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 ===== | ===== 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 varies between the various Paraview versions. | + | 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 ^ Other modules ^ GALLIUM_DRIVER ^ Command line ^ | + | ^ Version ^ Paraview Module ^ GALLIUM_DRIVER ^ Command line ^ |
- | | 4.3.1 | chpc/compmech/Paraview/4.3.1 | chpc/compmech/mesa/19.0.4_swr | llvmpipe or swr | paraview | | + | | 4.3.1 | chpc/compmech/Paraview/4.3.1 | llvmpipe or swr | paraview | |
- | | 5.0.1 | chpc/compmech/Paraview/5.0.1 | chpc/compmech/mesa/19.0.4_swr, chpc/compmech/Qt/4.8.6 | llvmpipe or swr | paraview | | + | | 5.2.0 | chpc/compmech/Paraview/5.2.0 | llvmpipe or swr | paraview | |
- | | 5.3.0 | chpc/compmech/Paraview/5.3.0 | chpc/compmech/mesa/19.1.2_swr, chpc/compmech/Qt/4.8.6 | llvmpipe| paraview| | + | |
- | | 5.4.1 |chpc/compmech/Paraview/5.4.1 | chpc/compmech/mesa/19.1.2_swr, chpc/compmech/Qt/4.8.6 | llvmpipe| paraview| | + | |
Line 70: | Line 71: | ||
* 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 jblogs@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 your interactive compute node, let's call it cnode1234 for argument's sake. 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 (exactly the same version) 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. | ||
* Load the data into Paraview in the usual fashion. | * Load the data into Paraview in the usual fashion. |