Server which auto launches pvserver fails
I am trying to create a server that will launch pvserver automatically. I create a new server, with the external command "mpirun -np 4 <pvserver>", where <pvserver> is the path to the pvserver executable. When I try to connect to this server, it will fail with following message:
critical: In unknown, line 0 critical: Command aborted.
I think this is probably the same error, but if I have a python script that tries to launch pvserver with mpirun, then that also fails. So if I had a python script with the following:
import subprocess subprocess.call(['mpirun', '-np', str(4), pvserver])
If I do
python start_pvserver.py, that works. If I do
pvpython start_pvserver.py, that will fail. If I remove mpirun and just have pvserver, that will work.
I'm running on a Mac with Catalina, with OpenMPI 4.0.3. This is on the latest git version of Paraview.