I would like my client to be able to connect to multiple servers. I heard that ParaView has to be built with multiserver option to achieve it. Although I looked at the CMake options with ccmake in the ParaView superbuild, I cannot find which option enables the multiserver build. Could you help me finding it?
Its just a CLI option, --multi-servers
I started pvserver on one of the remote machines after logging in with
ssh -L 11111:localhost:11111 user@machine1
I started pvserver on the other remote machine after logging in with
ssh -L 11112:localhost:11111 user@machine2
I started the ParaView client with the --multi-servers flag and connected to machine2 with the configuration cs://localhost:11112. The connection is established. When I wanted to connect to machine1 with the config cs://localhost:11111, I get the following error on machine1:
channel 3: open failed: connect failed: Connection refused
and on the client:
( 277.360s) [paraview ]vtkSocketCommunicator.c:774 ERR| vtkSocketCommunicator (0x1de93480): Could not receive tag. 1010580540
( 277.364s) [paraview ]vtkSocketCommunicator.c:528 ERR| vtkSocketCommunicator (0x1de93480): Endian handshake failed.
( 277.364s) [paraview ]vtkTCPNetworkAccessMana:313 ERR| vtkTCPNetworkAccessManager (0x16186350):
**********************************************************************
Connection failed during handshake. vtkSocketCommunicator::GetVersion()
returns different values on the two connecting processes
(Current value: 100).
**********************************************************************
Can you try without SSH tunelling in the mix ?
I can only access the remote machines via SSH, sorry.
you can run pvservers locally.
It works when the servers are launched locally.
Then its something wrong in the SSH server setup, not related to ParaView.