I’m experiencing an issue with ParaView’s pvpython and pvbatch when using an MPI-enabled build (ParaView-5.11.2-egl-MPI-Linux-Python3.9). Specifically, when I run pvpython or pvbatch scripts multiple times from the same parent process (e.g., within a Python testing framework like pytest), the first execution completes successfully, but subsequent runs hang indefinitely.
- Is there a supported method to disable or bypass MPI initialization in
pvpython/pvbatchwhen using an MPI-enabled build? - Are there any known workarounds or patches that address this issue?
- Would building ParaView from source without MPI support be the only viable solution?
I appreciate any guidance or suggestions you can provide.

