Hi Utkarsh,
On 08/16/2011 06:22 PM, Utkarsh Ayachit wrote:
> If you're writing out data that is already partitioned, you should
> write it out as a collection of grids. Then each grid in that
> collection is read on a separate partition.
I followed your advice, but seem to have hit on another bug, this time
with nodes not reading/showing their collection. See the attached Xdmf
file, it contains a temporal collection of spatial collections, where
there is actually only 1 timestep as it shows the incorrect behaviour.
Each spatial grid consists of 16 unstructured grids, read from 16 HDF5
files.
The behaviour I'm seeing when loading this dataset on an 8-process PV
session is that only 1/8th of the data actually shows up. Looking at the
process Id scalars it only has a range of [0,0] and only 1 out of 8 of
the "hypercolumn-?" sets in the multi-block set show any cells and
points. This is with PV patched with the code you sent earlier, btw.
Loading the same set on a local PV session works fine.
I can upload the corresponding HDF5 files, if needed, but these are not
public I'm afraid.
Regards,
Paul
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf>
<Domain>
<Grid GridType="Collection" CollectionType="Temporal" Name="TimeSeries">
<Grid GridType="Collection" CollectionType="Spatial" Name="SpatialDecomposition">
<Time Value="0" />
<Grid Name="hypercolumn-0" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0000.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0000.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0000.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0000.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-1" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0001.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0001.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0001.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0001.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-2" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0002.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0002.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0002.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0002.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-3" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0003.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0003.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0003.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0003.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-4" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0004.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0004.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0004.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0004.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-5" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0005.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0005.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0005.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0005.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-6" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0006.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0006.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0006.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0006.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-7" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0007.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0007.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0007.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0007.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-8" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0008.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0008.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0008.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0008.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-9" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0009.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0009.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0009.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0009.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-10" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0010.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0010.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0010.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0010.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-11" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0011.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0011.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0011.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0011.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-12" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0012.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0012.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0012.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0012.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-13" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0013.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0013.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0013.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0013.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-14" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0014.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0014.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0014.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0014.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
<Grid Name="hypercolumn-15" GridType="Uniform">
<Topology TopologyType="Polyvertex" NumberOfElements="3456" />
<Geometry GeometryType="XYZ">
<DataItem Name="Coordinates" NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0015.hdf5:/positions</DataItem>
</Geometry>
<Attribute Name="voltage" Type="Scalar" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 1" Format="HDF">out0000_0015.hdf5:/voltages</DataItem>
</Attribute>
<Attribute Name="type" Type="Scalar" Center="Node">
<DataItem NumberType="Int" Dimensions="3456 1" Format="HDF">out0000_0015.hdf5:/types</DataItem>
</Attribute>
<Attribute Name="rotation" Type="Vector" Center="Node">
<DataItem NumberType="Float" Precision="4" Dimensions="3456 3" Format="HDF">out0000_0015.hdf5:/rotations</DataItem>
</Attribute>
</Grid>
</Grid>
</Grid>
</Domain>
</Xdmf>
_______________________________________________
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