2.7.1. Client–server setup
Pick a unique tunnel port (e.g.
111XX) to avoid colliding with other users.Ensure that the
$DISPATCHenv var points to the top of your DISPATCH hierarchy.Ensure
$DISPATCH/utilities/scriptsis in your$PATHso the helper scriptsPVserveris visible (the script setsPV_PLUGIN_PATHso ParaView can auto-loaddispatch_reader_plugin.pyand supports various diagnostic settings that may be used to trace problems).Start the SSH tunnel from your laptop:
ssh server -L 11111:localhost:111XX PVserver --server-port=111XX
Replace
111XXwith the port from step 1. The very first launch can take longer; if ParaView times out simply close it and retry the connection.Create a ParaView connection – in add an entry targeting
localhost:11111. While editing the entry, press Configure, choose Command, paste the SSH command from step 4, and increase the wait timeout beyond the default 5 s so ParaView patiently waits forpvserverto start.Load the DISPATCH plugin – open , select
dispatch_reader_plugin.py, click Load Selected, expand the entry, and tick Autoload. If the plugin is missing, use Load New… and browse to$DISPATCH/utilities/python/pv/plugin/dispatch_reader_plugin.py.
Notes
Always reference
PVserverin the SSH tunnel command so the environment is consistentThe tunnel maps your chosen server port (
111XX) to ParaView’s standard local port11111.If the connection is refused, log onto the server and verify whether
pvserveris running and which ports it listens on; if an orphan one of yours, kill it. If someone else is using 111XX, change port number.Laptops with multiple GPUs often benefit from telling ParaView to prefer the high-performance GPU.