<div dir="ltr">It may be that in serial it traverses the blocks in a separate order or that the order the point data arrays are added are different in parallel. An easy check would be to write out the multiblock in parallel before the streamline filter is used and look at the outputted dataset files. I believe the point data is written in the order it is traversed in the vtkPointData container.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 10:19 PM, Ben Colcord <span dir="ltr">&lt;<a href="mailto:ben.colcord@gmail.com" target="_blank">ben.colcord@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe I misunderstand, but if the problem was because of point data arrays being different on different blocks, wouldn&#39;t the same errors occur in serial? I only get problems running in parallel.</div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 8:20 PM, Andy Bauer <span dir="ltr">&lt;<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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.<div>


<br></div><div>Andy<br><br>On Monday, December 2, 2013, Ben Colcord  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>


I&#39;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&#39;t think it&#39;s a problem with the script. The errors I get are:</div>



<div><br></div><div><div>ERROR: In /nv/hp25/bcolcord3/ParaView/VTK/Common/Core/vtkDataArray.cxx, line 474</div><div>vtkDoubleArray (0xd4058a00): The number of components do not match the number requested: 3 != 1</div><div>



<br></div><div>Warning: In /nv/hp25/bcolcord3/ParaView/VTK/Common/DataModel/vtkTable.cxx, line 421</div><div>vtkTable (0xd4634a60): Cannot assign this variant type to multi-component data array.</div></div><div><br></div>



<div>These errors occur when I do &quot;writer.UpdatePipeline()&quot; in the script, or &quot;Save Data&quot; 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. </div>



<div><br></div><div>I&#39;m using ParaView 4.01, commit 8bab4fd99bda5b0b8748. My dataset is Multi-block, and I apply the following filters before attempting writing:</div><div><br></div><div>CellDatatoPointData</div><div>



ProgrammableFilter (to remove ghost layers)</div><div>Calculator (to create velocity vector from components)</div><div>StreamTracer</div><div><br></div><div>As you can see, it&#39;s a very simple task, but I can&#39;t get it to work in parallel. Any help would be greatly appreciated.</div>



<div><br></div><div>Thank you.</div></div>
</blockquote></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>