[Paraview] Problem with saving data along stream trace in parallel

Ben Colcord ben.colcord at gmail.com
Mon Dec 2 17:36:50 EST 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131202/7f3a3b5c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: density.png
Type: image/png
Size: 32879 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131202/7f3a3b5c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centerline.png
Type: image/png
Size: 26205 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131202/7f3a3b5c/attachment-0003.png>


More information about the ParaView mailing list