Connecting to server with an MPI based start up command fails
ParaView has the option to set up a server configuration and automatically launch and connect to the server based on a command.
On Arch-Linux, when the command uses MPI, it fails to launch the server process.
Reproduction steps:
- Connect
- Add server
- Define configuration based on your system. You may want to launch
pvserver
from a terminal to get hostname and port) - Configure button
- Startup Type: Command
- Set command:
MPIBinaryPath/mpiexec -np 4 ParaViewBuildPath/bin/pvserver
The failure origates from Qt/Components/pqServerLaunch.cxx
On Mac, everything works fine.
Possible solutions: https://www.qtcentre.org/threads/19636-Qprocess-and-mpi-not-finishing
Simple work around: run paraview with --no-mpi