Hello,
I have read the different posts around the forum, I am a little bit lost about this.
I want to run a paraview script using several processors in a openfoam decomposed case (equal number of processors for paraview part and openfoam case data).
I am in linux (ubuntu based) using the binaries from ParaView-5.12.0-MPI-Linux-Python3.10-x86_64.tar.gz
which is the correct workflow?
- create a server running
mpiexec -n $nProc pvserver
- run
mpiexec -np $nProc pvbatch --mpi myScript.py
should I usempiexec or mpirun
?
while running the first command, I am already encountering the issue that the address is already used
mpirun -n 8 pvserver
Waiting for client...
Connection URL: cs://franco-precision7560:11111
Waiting for client...
Connection URL: cs://franco-precision7560:11111
Waiting for client...
Connection URL: cs://franco-precision7560:11111
Waiting for client...
Connection URL: cs://franco-precision7560:11111
Accepting connection(s): franco-precision7560:11111
( 0.436s) [pvserver ] vtkSocket.cxx:241 ERR| vtkServerSocket (0x1d88050): Socket error in call to listen. Address already in use.
( 0.423s) [pvserver ] vtkSocket.cxx:190 ERR| vtkServerSocket (0x2537060): Socket error in call to bind. Address already in use.
( 0.436s) [pvserver ] vtkSocket.cxx:190 ERR| vtkServerSocket (0xd97060): Socket error in call to bind. Address already in use.
( 0.436s) [pvserver ]vtkTCPNetworkAccessMana:441 ERR| vtkTCPNetworkAccessManager (0x1af4750): Failed to set up server socket.
( 0.423s) [pvserver ]vtkTCPNetworkAccessMana:441 ERR| vtkTCPNetworkAccessManager (0x22a3750): Failed to set up server socket.
( 0.436s) [pvserver ]vtkTCPNetworkAccessMana:441 ERR| vtkTCPNetworkAccessManager (0xb03750): Failed to set up server socket.
Exiting...
nevertheless I have tried to kill it using htop (looking for pvserver and kill the instance) but even after I am getting the error.
how can I create a new pvserver? and associate it with pvbatch so it runs the script in the simulation in parallel.
thanks in advance,