The output of which pvbatch is the one expected (it points to my installation of ParaView 5.11.1, the default one downloaded from ParaView’s website). Toy.py is a very simple MPI python script:
Thanks, but that’s it: I need to use srun in order to properly run the script within the supercomputer. How can we make pvbatch work in parallel with srun? For comparison, the corresponding command srun -o %j-%t.cout -e %j-%t.cerr python3 toy.py works as expected.
I don’t think that’s the right takeaway here. Just to clarify:
First, determine which MPI implementations are provided by your HPC system.
If any MPI implementaiton that is listed here are available on your system i.e. it is compatible with MPICH ABI, then you’re golden. module load ... (or whatever is recommended on your system) the appropriate MPI implementation and then ensure you pass --system-mpi command line argument to pvbatch.
If not, you’ll need to build ParaView from source using the MPI implementation available.