<div dir="ltr"><div><div><div>Hi,<br><br></div>Can you verify that there are indeed points in vtk_diff_serial_mesh_<wbr>parallel_out_005_1.vtu in the older version of VTK? The PXML writers were changed such that they wouldn't write out data files for data set pieces that didn't have any points. <br><br></div>Cheers,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 12:50 PM, John Peterson <span dir="ltr"><<a href="mailto:jwpeterson@gmail.com" target="_blank">jwpeterson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div><div>It appears that the behavior of the vtkXMLPUnstructuredGridWriter has changed in VTK 7.1.  Can anyone comment on this?  I am using the 7.1.0 tarball downloaded from:</div><div><br></div><div><a href="http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz" target="_blank">http://www.vtk.org/files/<wbr>release/7.1/VTK-7.1.0.tar.gz</a></div></div><div><br></div><div>We have a test case in the MOOSE library (<a href="https://github.com/idaholab/moose/tree/devel/test/tests/outputs/vtk" target="_blank">https://github.com/idaholab/<wbr>moose/tree/devel/test/tests/<wbr>outputs/vtk</a>) which demonstrates the problem, but I can also work on creating a standalone test code which demonstrates this issue if necessary.<br></div><div><br></div><div>In versions of VTK prior to 7.1 this test, which runs on two processors, writes the following .pvtu file: (note the two "Piece Source" lines corresponding to each processor's part):</div><div><br></div><div><div><?xml version="1.0"?></div><div><VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="<wbr>vtkZLibDataCompressor"></div><div>  <PUnstructuredGrid GhostLevel="1"></div><div>    <PPointData></div><div>      <PDataArray type="Float64" Name="aux"/></div><div>      <PDataArray type="Float64" Name="u"/></div><div>    </PPointData></div><div>    <PCellData></div><div>      <PDataArray type="Int32" Name="libmesh_elem_id"/></div><div>      <PDataArray type="Int32" Name="subdomain_id"/></div><div>      <PDataArray type="Int32" Name="processor_id"/></div><div>    </PCellData></div><div>    <PPoints></div><div>      <PDataArray type="Float64" Name="Points" NumberOfComponents="3"/></div><div>    </PPoints></div><div>    <Piece Source="vtk_diff_serial_mesh_<wbr>parallel_out_005_0.vtu"/></div><div>    <Piece Source="vtk_diff_serial_mesh_<wbr>parallel_out_005_1.vtu"/></div><div>  </PUnstructuredGrid></div><div></VTKFile></div><div><br></div><div><br></div><div>While in version 7.1, the same test now writes (note the single "Piece Source" line)</div><div><br></div><div><div><?xml version="1.0"?></div><div><VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="<wbr>vtkZLibDataCompressor"></div><div>  <PUnstructuredGrid GhostLevel="1"></div><div>    <PPointData></div><div>      <PDataArray type="Float64" Name="aux"/></div><div>      <PDataArray type="Float64" Name="u"/></div><div>    </PPointData></div><div>    <PCellData></div><div>      <PDataArray type="Int32" Name="libmesh_elem_id"/></div><div>      <PDataArray type="Int32" Name="subdomain_id"/></div><div>      <PDataArray type="Int32" Name="processor_id"/></div><div>    </PCellData></div><div>    <PPoints></div><div>      <PDataArray type="Float64" Name="Points" NumberOfComponents="3"/></div><div>    </PPoints></div><div>    <Piece Source="vtk_diff_serial_mesh_<wbr>parallel_out_005_0.vtu"/></div><div>  </PUnstructuredGrid></div><div></VTKFile></div></div><div><br></div><div><br></div><div>The file opens fine in Paraview, but the part of the mesh corresponding to processor 1 is missing. We haven't changed anything substantial in our application code that calls the writer.</div><div><br></div>Thanks, <span class="HOEnZb"><font color="#888888"><br><div class="m_7291424389580403578gmail_signature">John</div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>