Appearance
ParaView Client–Server Mode
When you’re working with large simulation results on a remote server, opening them directly in ParaView on your laptop can be slow — or sometimes impossible if the data is huge. That’s where ParaView’s Client–Server mode comes in.
It lets you run ParaView Server (pvserver) on the remote machine, where all the heavy data lives, and connect to it from ParaView Client on your local system. You get fast, interactive visualization — without ever moving gigabytes of files around.
Why Use Client–Server Mode?
When you open a large .xdmf or .vtu file remotely, you’re limited by your internet speed and your local system’s memory. Client–Server mode solves that by splitting the work:
- Server (pvserver) — runs on the remote machine, handles all heavy lifting (loading, rendering, computation).
- Client (ParaView app) — runs on your laptop, handles interaction and display.
They communicate over an SSH connection — secure, efficient, and surprisingly easy once set up.
Note: To use ParaView in Client–Server mode, make sure ParaView is installed on both your local system and the remote server. The versions must be the same on both sides — mismatched versions can cause connection errors or unexpected behavior. For example, if your local ParaView is version 5.12.0, install the same version (5.12.0) on the remote machine before running
pvserver.
How to Use It (Simple Steps)
Step 1 — Start pvserver on the remote machine
SSH into your remote server and run:
bash
pvserver --server-port=11111Leave this terminal running. It’s now waiting for a connection from your local ParaView Client.
Tip: You can start this inside a
tmuxorscreensession so it keeps running if your SSH disconnects.
Step 2 — Open ParaView on your local machine
- Launch ParaView (the desktop app).
- Go to File → Connect.
- Click Add Server, give it a name (e.g., “remote_fenics”), and set the port to
11111. - Choose Manual connection and save.
Now, highlight the new server name and click Connect. ParaView will open a new window connected to the remote server.
Step 3 — Load and Visualize Data
Once connected, you can browse remote folders, open your simulation result files (like .xdmf or .vtu), and visualize them. All computations happen on the server — your laptop just streams the results.
This makes it possible to handle large meshes, time-series data, or 3D animations easily.
Notes
The server and client must use the same version of ParaView for smooth communication.
If you can’t connect directly (due to firewalls), use SSH port forwarding:
bashssh -L 11111:localhost:11111 username@server_ipThen connect to
localhostin ParaView Client.Always start
pvserveron the remote machine first, then connect from your local ParaView.Works great for viewing large FEniCS or CFD simulation outputs without downloading them.
Combine with
tmuxfor long sessions — your pvserver will keep running even if your SSH disconnects.
Summary
- ParaView Client–Server mode lets you visualize large simulation results stored remotely without transferring files.
- Run
pvserveron the remote machine, connect from your local ParaView Client, and visualize instantly. - It’s fast, secure, and ideal for FEniCS, CFD, or large-scale mesh-based studies.
Once you’ve tried it, you’ll never go back to manually downloading result files again — it’s the smoothest way to explore your simulations.