vtkMaskPoints hangs in parallel, if MaximumNumberofPoints < number of processes
Hello there,
attached script demonstrates a bug in vktMaskPoints in PV 5.6.1 / VTK.
In the script, I request 2 points and enable ProportionallyDistributeMaximumNumberOfPoints.
mpirun -np 2 pvbatch mask_points_bug.py, I get 2 points as expected. But running with 3 cores makes Paraview waits forever indicating an MPI issue.
Turning off ProportionallyDistributeMaximumNumberOfPoints results in 2 points*number of processes as expected for any number of cores selected.
So I think the algorithm to ProportionallyDistributeMaximumNumberOfPoints has an issue. Could it be fixed such that I always get 2 points regardless of how many cores I use?
Best regards, Axel