The point data arrays are probably ordered differently on separate blocks or there are different point data arrays on different blocks. My suggestion is to use a python programmable filter to remove the unneeded arrays or to reorder them.
Andy On Monday, December 2, 2013, Ben Colcord wrote: > Hello, > > I'm trying to extract data along a streamline. I have a script that works > fine in serial, but gives errors in parallel. I get the same errors if I > use the GUI or if I run the script with pvbatch, so I don't think it's a > problem with the script. The errors I get 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. > > These errors occur when I do "writer.UpdatePipeline()" in the script, or > "Save Data" in the GUI. Output is still produced, but the attached images > show the problem. The streamline co-ordinates are OK, but the density along > the streamline is not. > > I'm using ParaView 4.01, commit 8bab4fd99bda5b0b8748. My dataset is > Multi-block, and I apply the following filters before attempting writing: > > CellDatatoPointData > ProgrammableFilter (to remove ghost layers) > Calculator (to create velocity vector from components) > StreamTracer > > As you can see, it's a very simple task, but I can't get it to work in > parallel. Any help would be greatly appreciated. > > Thank you. >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
