Gradient filter errors in parallel
The Gradient of Unstructured Dataset filter is throwing error messages in parallel when one rank doesn't have data to process. This is causing issues for my users. Here is a way to replicate:
- 5.5.2, Linux, remote server (16 ranks, I bet it repeats with 2).
- Open g1s1. All variables on. Apply.
- +Z
- Clip. Y Normal. Turn off Invert. Slide the clip plane up, until you only have the cap. See screenshot, where output of the clip is red and surface, output of the original reader is points, and white.
- Gradient of Unstructured Dataset. Scalar Array == VEL. Apply.
Lots of errors. Here they are:
ERROR: In /projects/viz/paraview/src/ParaView/5.5.2-sb/ParaView5/VTK/Filters/General/vtkGradientFilter.cxx, line 305 vtkGradientFilter (0x37010d0): No input array. If this dataset is part of a composite dataset check to make sure that all non-empty blocks have this array.
ERROR: In /projects/viz/paraview/src/ParaView/5.5.2-sb/ParaView5/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkPVCompositeDataPipeline (0x1b61cf0): Algorithm vtkGradientFilter(0x37010d0) returned failure for request: vtkInformation (0x307d8d0) Debug: Off Modified Time: 3593253 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 FROM_OUTPUT_PORT: 0
ERROR: In /projects/viz/paraview/src/ParaView/5.5.2-sb/ParaView5/VTK/Filters/General/vtkGradientFilter.cxx, line 305 vtkGradientFilter (0x37010d0): No input array. If this dataset is part of a composite dataset check to make sure that all non-empty blocks have this array.
ERROR: In /projects/viz/paraview/src/ParaView/5.5.2-sb/ParaView5/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkPVCompositeDataPipeline (0x1b61cf0): Algorithm vtkGradientFilter(0x37010d0) returned failure for request: vtkInformation (0x307d8d0) Debug: Off Modified Time: 3593375 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 FROM_OUTPUT_PORT: 0