Save data from stream trace gives errors in parallel
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I have a script that creates a streamline and saves the data to file. When run with pvbatch it produces correct results in serial but gives errors in parallel. Output is still produced in parallel but the data is nonsensical. The errors output are:
ERROR: In /nv/hp25/bcolcord3/ParaView/VTK/Common/Core/vtkDataArray.cxx, line 474 vtkDoubleArray (0xd4058a00): The number of components do not match the number requested: 3 != 1
Warning: In /nv/hp25/bcolcord3/ParaView/VTK/Common/DataModel/vtkTable.cxx, line 421 vtkTable (0xd4634a60): Cannot assign this variant type to multi-component data array.
The same errors occur when run from python shell in the GUI, again only in parallel.
I am using Paraview 4.01, commit 98db6239. My data is read in as a Multi-block Dataset and I apply the following filters:
CellDatatoPointData ProgrammableFilter (removes ghost layers from blocks) Calculator (to create velocity vector from scalars for stream trace) StreamTracer (only one streamline)
When I try to save the data is when I get those errors, and again, only when run in parallel.