[Paraview] Xdmf data duplication

Paul Melis paul.melis at sara.nl
Mon Aug 15 10:17:34 EDT 2011


Hi,

With a dataset stored in Xdmf I get an interesing data duplication
result. The set consists of 55296 points, each with associated scalar
and vector values. See below for the XML file and HDF5 layout.

It loads fine when running PV standalone. But when loading this set on a
parallel PV server (running on N nodes), the number of cells in the
loaded datasets ends up being N, and the number of points becomes N *
55296. Looking at the Scalar Process Id values it seems the set is
indeed duplicated on all render nodes.

Is the use of Xdmf not supported for parallel PV?
This happens with both PV 3.8.1 and 3.10.1, btw.

Best regards,
Paul


<?xml version="1.0"?>
<Xdmf>
  <Domain>
      <Grid GridType="Uniform" Name="Neurons-0">
        <Topology NodesPerElement="55296" TopologyType="Polyvertex"/>
        <Geometry GeometryType="XYZ">
          <DataItem DataType="Float" Dimensions="55296 3" Format="HDF"
Name="Coordinates" Precision="4">out0000.hdf5:/positions</DataItem>
        </Geometry>
        <Attribute Center="Node" Name="voltage" Type="Scalar">
          <DataItem DataType="Float" Dimensions="55296 1" Format="HDF"
Precision="4">out0000.hdf5:/voltages</DataItem>
        </Attribute>
        <Attribute Center="Node" Name="type" Type="Scalar">
          <DataItem DataType="Int" Dimensions="55296 1"
Format="HDF">out0000.hdf5:/types</DataItem>
        </Attribute>
        <Attribute Center="Node" Name="rotation" Type="Vector">
          <DataItem DataType="Float" Dimensions="55296 3"
Format="HDF">out0000.hdf5:/rotations</DataItem>
        </Attribute>
      </Grid>
  </Domain>
</Xdmf>

HDF5 "out0000.hdf5" {
GROUP "/" {
   DATASET "cells" {
      DATATYPE  H5T_STD_I32LE
      DATASPACE  SIMPLE { ( 55296, 1 ) / ( 55296, 1 ) }
   }
   DATASET "positions" {
      DATATYPE  H5T_IEEE_F32LE
      DATASPACE  SIMPLE { ( 55296, 3 ) / ( 55296, 3 ) }
   }
   DATASET "rotations" {
      DATATYPE  H5T_IEEE_F32LE
      DATASPACE  SIMPLE { ( 55296, 3 ) / ( 55296, 3 ) }
   }
   DATASET "types" {
      DATATYPE  H5T_STD_I32LE
      DATASPACE  SIMPLE { ( 55296, 1 ) / ( 55296, 1 ) }
   }
   DATASET "voltages" {
      DATATYPE  H5T_IEEE_F32LE
      DATASPACE  SIMPLE { ( 55296, 1 ) / ( 55296, 1 ) }
   }
}
}





More information about the ParaView mailing list