[Paraview] reading XDMF files in parallel

Dan Lussier dan.lussier at sjc.ox.ac.uk
Mon Aug 16 11:34:38 EDT 2010


Hello,

I am trying to read some XDMF files in parallel but am running into
some problems with Paraview crashing when I do so.  My suspicion is
that I have data which is not able to be read in parallel.

Some of my XDMF files work well. An example of this type of file is in
the first XDFM listing below.

In contrast other files do not read in parallel despite working well
in serial.  An example of this type of file is in the second XDMF
listing below  I cannot even get one to successfully open to run the
Process ID filter to see how the work is being split up.

Is this issue down to differences in how TopologyType 3DCORRECTMesh
(working) versus TopologyType Polyvertex work in XDMF, or the XDMF
reader in Paraview?

Many thanks!

#  
-----------------------------------------------------------------------------------------------------------------------------------------------------
# WORK IN PARALLEL

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.1">
    <Domain>
            <Grid Time="95000" Name="sigma4ISO" GridType="Uniform">
                <Time Value="95000" />
                        <Topology TopologyType="3DCORECTMesh"
NumberOfElements="40 40 40 "/>
                        <Geometry GeometryType="ORIGIN_DXDYDZ">
                                <DataItem Dimensions="3 "
NumberType="Float" Format="XML">
                                        0.0 0.0 0.0
                                </DataItem>
                                <DataItem Dimensions="3 "
NumberType="Float" Format="XML">
                                        4.0 4.0 4.0
                                </DataItem>
                        </Geometry>

                                <Attribute Type="Scalar" Center="Node"
Name="count">
                                        <DataItem DataType="Int"
Dimensions="40 40 40" Format="HDF">
                                                95000.h5:/sigma4ISO/ 
count
                                        </DataItem>
                                </Attribute>
                                <Attribute Type="Scalar" Center="Node"
Name="numDens">
                                        <DataItem DataType="Float"
Dimensions="40 40 40" Format="HDF">
                                                95000.h5:/sigma4ISO/ 
numDens
                                        </DataItem>
                                </Attribute>
            </Grid>
        </Domain>
</Xdmf>

#  
-----------------------------------------------------------------------------------------------------------------------------------------------------


#  
-----------------------------------------------------------------------------------------------------------------------------------------------------
# DO NOT WORK

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.1">
    <Domain>
            <Grid Time="95000" Name="rawSimResults" GridType="Uniform">
                <Time Value="95000" />
                <Topology TopologyType="Polyvertex"  
NumberOfElements="1286486"/>
                <Geometry GeometryType="X_Y_Z">
                    <DataItem Dimensions="1286486" NumberType="Float"
Format="HDF">
                        95000.h5:/rawSimResults/x
                    </DataItem>
                    <DataItem Dimensions="1286486" NumberType="Float"
Format="HDF">
                        95000.h5:/rawSimResults/y
                    </DataItem>
                    <DataItem Dimensions="1286486" NumberType="Float"
Format="HDF">
                        95000.h5:/rawSimResults/z
                    </DataItem>
                </Geometry>

                <Attribute Type="Scalar" Center="Node" Name="vy">
                        <DataItem DataType="Float" Dimensions="1286486"
Format="HDF">
                                95000.h5:/rawSimResults/vy
                        </DataItem>
                </Attribute>
                <Attribute Type="Scalar" Center="Node" Name="vx">
                        <DataItem DataType="Float" Dimensions="1286486"
Format="HDF">
                                95000.h5:/rawSimResults/vx
                        </DataItem>
                </Attribute>
                <Attribute Type="Scalar" Center="Node" Name="vz">
                        <DataItem DataType="Float" Dimensions="1286486"
Format="HDF">
                                95000.h5:/rawSimResults/vz
                        </DataItem>
                </Attribute>
                <Attribute Type="Vector" Center="Node" Name="velocity">
                        <DataItem ItemType="Function"  
Function="JOIN($0, $1, $2)"
Dimensions="1286486 3">
                        <DataItem Name="vx" Format="HDF"
DataType="Float" Dimensions="1286486">
                            95000.h5:/rawSimResults/vx
                        </DataItem>
                        <DataItem Name="vy" Format="HDF"
DataType="Float" Dimensions="1286486">
                            95000.h5:/rawSimResults/vy
                        </DataItem>
                        <DataItem Name="vz" Format="HDF"
DataType="Float" Dimensions="1286486">
                                95000.h5:/rawSimResults/vz
                        </DataItem>
                        </DataItem>
                </Attribute>
            </Grid>
        </Domain>
</Xdmf>

#  
-----------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100816/273fabe3/attachment.htm>


More information about the ParaView mailing list