Using ParaView with remote server on the clusters#
Install ParaView on your machine. The server (our machine) and client (your machine) should have the same version number. Otherwise the connection will not work. You will find the different versions of ParaView here: The versions installed on our machines are:
- izar: 5.10.1
- jed: 5.12.0
- kuma: 5.12.0
There are two options for using ParaView with a remote server on the clusters:
Running Paraview in Client Server Mode via definition file#
-
Download the definition file for the cluster you are targeting
- izar: scitas_izar.pvsc
- jed: scitas_jed.pvsc
- kuma: scitas_kuma.pvsc
-
In ParaView, prepare the connection by clicking on
Connectbutton or going in theFile > Connect...menu. This will open a dialog box where you can load thescitas_<cluster>.pvscfile via theLoad Serversbutton. -
Choose the proper server and click
Connect -
This will open a dialog box where you can select some options for the job that will be submitted to the cluster.
Step by step description of the script if you want to do it by hand#
You will need two terminals: one on your machine and one connected on the front node of a <cluster>. In addition you need to run the exact same version of ParaView on your local machine, than the one available the chosen <cluster>.
Terminal 1: Start the ParaView Server#
- Open a terminal and connect to the cluster via SSH.
- Start the ParaView server by running the following commands in order:
On Jed:
On kuma
<port> should be a number between 1025 and 65535, the default value is 11111 but it can be changed in case another user already use it. If you get an error saying the port is already in use or something similar try using a different value for <port>.
After running the commands, you will see the following output:
Waiting for client...
Connection URL: cs://<node name>:<port>
Accepting connection(s): <node name>:<port>
Take note of the <node name>, as you will need it to configure the SSH connection in Terminal 2.
Terminal 2: Set Up SSH Port Forwarding#
Open a second terminal and connect to the cluster using SSH with port forwarding enabled. Replace <node name> with the hostname obtained from the previous step, <username> with your username and <cluster> with the name of the cluster targeted:
Connect the ParaView Client#
On the ParaView instance on your local computer.
Go to File > Connect….
Add a new server and configure the connection settings as follows:
