====== Paraview ====== Paraview is only installed on the cluster as //pvserver// for Server-Client connections. **NOTE: The versions of Paraview on the Server and Client side must be identical!** Currently, versions **5.10.1** and **5.12.1** are available on the cluster (Server) side ([[en:computing:cluster:software:moduly|modules]] "paraview/5.10.1" and "paraview/5.12.1"). This version can be freely downloaded for your computer (Client) at [[https://www.paraview.org/download/|Paraview-download]]. Older version 5.10.1 is kept for its compatibility with openfoam-org/12, it is also native for OS Ubuntu 22.04. ==== Starting on the server side ==== The **SSH** login must be done **with graphics support**, i.e. the //-Y// switch (Windows users, see. [[computing:cluster:pripojeni:start|cluster/connections]]) ssh -Y user@kraken After loading the module [user@kraken ~]$ ml paraview //pvserver// can be started on the admin node [user@kraken ~]$ srun -p NoCompute pvserver even in parallel in the //NoCompute// queue directly from the command line [user@kraken ~]$ srun -p NoCompute -n 4 pvserver or by using the script for "sbatch": #!/bin/bash #SBATCH --job-name=Paraview_test #SBATCH --output=slurm_out.txt #SBATCH -p NoCompute #SBATCH -N 1 #SBATCH -n 4 ml paraview/5.10.1-11.2.0 srun pvserver **Parallel running greatly speeds up program response, up to 12 cores can be used with the //NoCompute// queue.** ==== Client-side configuration ==== * Connect Paraview on your local machine using File > Connect... or the {{:computing:cluster:fronty:paraview_connect_icon.png?nolink|}} icon. * If the connection was not previously created, press //Add Server// in following screenshot: {{ :computing:cluster:fronty:paraview_addserver.png?nolink | }} * and fill in information from screenshot: {{ :computing:cluster:fronty:paraview_configure.png?nolink | }} * (//pvserver// prints the necessary connection data to the terminal at startup) * All that's left is to confirm with //Configure// still within the same screenshot and then press //Save// on the next window: {{ :computing:cluster:fronty:paraview_configuresave.png?nolink |}} * Now the connection should be possible using //Connect// {{ :computing:cluster:fronty:paraview_addserver.png?nolink |}} ==== Error Messages ==== If the version of the program on the Server side does not match the version on the Client side, even with a properly configured connection, you will get a following error: {{ :computing:cluster:fronty:paraview_err_serverclientversion.png?direct |}}