Hi,
I am having trouble with running pvbatch in parallel mode after installing v6.0.1-MPI version. I have the Microsoft MPI installed on my machine and I have re-installed Paraview 6.0.1 with MPI support.
I am trying to load a script that is supposed to read approx 100GB of data and despite using multiple cores with pvbatch, I notice I run out of memory eventually and the program crashes (on a machine with 128GB RAM). I suspected that the code was not actually running in parallel, so I tried a simpler code below -
import paraview.servermanager as sm
pm = sm.vtkProcessModule.GetProcessModule()
nranks = pm.GetNumberOfLocalPartitions()
print(f"I am rank {pm.GetPartitionId()} out of {nranks}")
I only see the output ‘I am rank 0 of n’ no matter how many cores I use. I run the following command
mpiexec -n 2 "C:\Program Files\ParaView 6.0.1\bin\pvbatch.exe" --mpi .\try.py
I am unsure what I need to do to ensure pvbatch works in parallel mode.
Thanks in advance.