OpenFOAM Parallel Reader - MPI issue with Reconstructed Case when changing properties
There is a MPI blockage when changing patch selection with reconstructed case mode of the OpenFOAM Reader.
To reproduce:
- Launch
pvserver
with 4 MPI ranks, usuallympirun -np 4 pvserver
- Launch ParaView and connect to the server
- Open cavity test case, available here
- Check that the case type is reconstructed case.
- Click Apply, the default internal mesh patch is displayed in the render view
- Check
patch/fixedWall
in the Mesh Regions list - Click Apply
- ParaView hangs forever
The rank 0 is in vtkPOpenFOAMReader::GatherMetaData()
method calling MPI_Allgather
, whereas the other ranks are in vtkPVGeometryFilter::RequestDataObjectTree
calling MPI_Allreduce
. Hence the inter-blocking calls.
Call stacks here: