This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:paraview [2021/08/11 07:21] ccrosby [Parallel Paraview] |
howto:paraview [2025/04/14 10:59] (current) ccrosby [Running Paraview] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Running Paraview ====== | ====== Running Paraview ====== | ||
| + | |||
| + | === Video tutorial - Parallel ParaView in client / server mode === | ||
| + | Watch this [[https:// | ||
| + | |||
| + | === Alternative method - ParaView using GPUs in the cluster === | ||
| + | {{ : | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | [[https:// | ||
| + | |||
| There are several Paraview installations: | There are several Paraview installations: | ||
| Line 8: | Line 18: | ||
| - A standard binary distribution Paraview-5.4.1 in ''/ | - A standard binary distribution Paraview-5.4.1 in ''/ | ||
| - A standard binary distribution Paraview-5.5.0 in ''/ | - A standard binary distribution Paraview-5.5.0 in ''/ | ||
| - | | + | |
| - A custom-compiled server version of Paraview-5.8.1, | - A custom-compiled server version of Paraview-5.8.1, | ||
| + | - A standard binary server version of ParaView-5.12.1, | ||
| Line 20: | Line 31: | ||
| | 4.3.1 | chpc/ | | 4.3.1 | chpc/ | ||
| | 5.2.0 | chpc/ | | 5.2.0 | chpc/ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| ===== Parallel Paraview ===== | ===== Parallel Paraview ===== | ||
| Paraview really comes into its own when it can make use of parallel processing (hence Paraview rather than Serialview, presumably). | Paraview really comes into its own when it can make use of parallel processing (hence Paraview rather than Serialview, presumably). | ||
| + | - **Run with pvserver parallel on a compute node, and the front end somewhere else.** | ||
| - 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 | ||
| - Run with dataserver parallel on a compute node, and the front end and render server on a viz node | - Run with dataserver parallel on a compute node, and the front end and render server on a viz node | ||
| - | - Run with pvserver parallel on a compute node, and the front end somewhere else | ||
| - Use X-forwarding to run Paraview on a compute node with Mesa, with or without a parallel data server | - Use X-forwarding to run Paraview on a compute node with Mesa, with or without a parallel data server | ||
| All these approaches need the module loaded in each shell from which the process will be started. | All these approaches need the module loaded in each shell from which the process will be started. | ||
| - | === Single processor mode === | + | ==== Single processor mode ==== |
| Load the module '' | Load the module '' | ||
| - | === Parallel on the viz node === | + | |
| + | ==== Preferred method - Parallel using compute nodes, and remote front end ==== | ||
| + | This method makes use of Mesa and avoids the use of the viz node and VNC: | ||
| + | * Log in to the cluster, and get an exclusive X-enabled PBS session on a compute node '' | ||
| + | * In this terminal, load up the module '' | ||
| + | * In this terminal, start up the paraview server with the command < | ||
| + | * On your workstation, | ||
| + | * Launch Paraview (exactly the same version) on your workstation, | ||
| + | * Use the " | ||
| + | * Load the data into Paraview in the usual fashion. | ||
| + | * Data processing and rendering will happen on the compute node, display and interaction on your local workstation. | ||
| + | * If you want to use Paraview-5.8.1 for this, load the '' | ||
| + | module load chpc/ | ||
| + | mpiexec -np 24 pvserver --mpi --force--offscreen-rendering </ | ||
| + | * For the latest version 5.12.1, the process is somewhat simpler. | ||
| + | mpiexec -np 24 pvserver --force--offscreen-rendering </ | ||
| + | |||
| + | |||
| + | ==== Parallel on the viz node ==== | ||
| * Open two terminals. | * Open two terminals. | ||
| * In the server terminal, enter the command: < | * In the server terminal, enter the command: < | ||
| Line 47: | Line 71: | ||
| * Do monitor (with top or htop) the load on the servers, and avoid overloading them. In due course, a more formal queue for visualisation and better servers will be established. | * Do monitor (with top or htop) the load on the servers, and avoid overloading them. In due course, a more formal queue for visualisation and better servers will be established. | ||
| - | === Parallel using compute nodes === | + | ==== Parallel using compute nodes ==== |
| The data server does not need any GPU hardware, which makes it possible to run it on compute nodes. | The data server does not need any GPU hardware, which makes it possible to run it on compute nodes. | ||
| * Get one or more compute nodes, either by means of an interactive PBS session, or a PBS batch job. | * Get one or more compute nodes, either by means of an interactive PBS session, or a PBS batch job. | ||
| Line 56: | Line 80: | ||
| * This method gives reasonably good performance, | * This method gives reasonably good performance, | ||
| - | === Parallel using compute nodes and render server on the viz node === | + | ==== Parallel using compute nodes and render server on the viz node ==== |
| * Get a compute node as before, load the '' | * Get a compute node as before, load the '' | ||
| * On the viz node, open two terminals, load the '' | * On the viz node, open two terminals, load the '' | ||
| Line 65: | Line 89: | ||
| * Load the parallel data set. | * Load the parallel data set. | ||
| - | === Parallel using compute nodes, and remote front end === | ||
| - | This method makes use of Mesa and avoids the use of the viz node and VNC: | ||
| - | * Log in to the cluster, and get an exclusive X-enabled PBS session on a compute node '' | ||
| - | * In this terminal, load up the module '' | ||
| - | * In this terminal, start up the paraview server with the command < | ||
| - | * On your workstation, | ||
| - | * Launch Paraview (exactly the same version) on your workstation, | ||
| - | * Use the " | ||
| - | * Load the data into Paraview in the usual fashion. | ||
| - | * Data processing and rendering will happen on the compute node, display and interaction on your local workstation. | ||
| - | === Use X-forwarding and Mesa to run Paraview entirely on a compute node === | + | |
| + | ==== Use X-forwarding and Mesa to run Paraview entirely on a compute node ==== | ||
| Paraview-5.3 and 5.4 are distributed with the Mesa software rendering libraries. | Paraview-5.3 and 5.4 are distributed with the Mesa software rendering libraries. | ||
| - Log into lengau | - Log into lengau | ||