Pvserver
pvserver is a server side utility that permit to use ParaView headless and in
parallel in a remote location, which we assume will have the capacity to
visuality heavy cases. To be sure that the connection server/client work
be sure to have the same verison of paraview installed in both the machines.
Best practice before starting to work with pvserver, check that the port
used by the service (11111 by default) is free:
netstat -na | grep 11111
If the port is listening, you can start the connection. For an accurate view of the listening ports and which programmes are using those;
sudo netstat -ltnp
the flags indicate respectively:
- l: display only listening sockets
- t: display TCP connection
- n: display addresses in a numerical form
- p: display process ID/ Program name
Server/Client connection
| Server side | Client side | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
On the terminal execute: mpiexec -np 4 pvserver This command will establish a connection though the port 11111 (default for ParaView), if you want to specify a different port mpiexec -np 4 pvserver --server-port=<portNumber> On the terminal, get your IP address: hostname -i And your client host name: hostname -a |
In ParaView go on: File → Connect → Add Server And fulfil the fields in this way
Port 11111 is the default TCP port for the ParaView connection, if this port is occupied from another service you can set up another port accordingly with the server setting.
|