[Paraview] xdmf X_Y_Z format
Tobias Brandvik
tbrandvik at gmail.com
Fri Jun 13 07:08:47 EDT 2008
Hi,
I have a program that writes out files in HDF5 format. The geometry is
a structured grid and is specified as three arrays, each containing
one coordinate value for every point. I'm trying to get Paraview to
read this by using Xdmf, but can't get it to work. Reading the
following xdmf file with the attached hdf5 file gives the error below.
If I interleave the coordinates and use the XYZ format instead of
X_Y_Z then everything is fine. For various reasons though, it is
inconvenient to change the original program to do this so I would
prefer to use X_Y_Z. I'm using serial Paraview 3.2.2 on 64-bit Centos
5. Does anyone know what might be wrong?
Cheers,
Tobias.
<Xdmf>
<Domain>
<Grid GridType="Uniform">
<Topology Type="3DSMESH" Dimensions="4 4 4">
</Topology>
<Geometry Type="X_Y_Z">
<DataItem DataType="Float" Precision="4" Dimensions="4 4 4" Format="HDF">
test2.hdf5:/block0/bp0
</DataItem>
<DataItem DataType="Float" Precision="4" Dimensions="4 4 4" Format="HDF">
test2.hdf5:/block0/bp1
</DataItem>
<DataItem DataType="Float" Precision="4" Dimensions="4 4 4" Format="HDF">
test2.hdf5:/block0/bp2
</DataItem>
</Geometry>
</Grid>
</Domain>
</Xdmf>
XDMF Error in /home/tbrandvik/downloads/ParaView3.2.2/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 679 (DSM Interface is unavailable)
HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread 0.
Back trace follows.
#000: /home/tbrandvik/downloads/ParaView3.2.2/Utilities/hdf5/H5D.c
line 1072 in H5Dcreate(): not a location ID
major(01): Function arguments
minor(03): Inappropriate type
#001: /home/tbrandvik/downloads/ParaView3.2.2/Utilities/hdf5/H5G.c
line 2441 in H5G_loc(): invalid object ID
major(01): Function arguments
minor(05): Bad value
XDMF Error in /home/tbrandvik/downloads/ParaView3.2.2/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 850 (Can't Create Temp Dataset CORE:XdmfJunk12.h5:/TempData)
XDMF Error in /home/tbrandvik/downloads/ParaView3.2.2/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 679 (DSM Interface is unavailable)
HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread 0.
Back trace follows.
#000: /home/tbrandvik/downloads/ParaView3.2.2/Utilities/hdf5/H5D.c
line 1072 in H5Dcreate(): not a location ID
major(01): Function arguments
minor(03): Inappropriate type
#001: /home/tbrandvik/downloads/ParaView3.2.2/Utilities/hdf5/H5G.c
line 2441 in H5G_loc(): invalid object ID
major(01): Function arguments
minor(05): Bad value
XDMF Error in /home/tbrandvik/downloads/ParaView3.2.2/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 850 (Can't Create Temp Dataset CORE:XdmfJunk13.h5:/TempData)
XDMF Error in /home/tbrandvik/downloads/ParaView3.2.2/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 679 (DSM Interface is unavailable)
HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread 0.
Back trace follows.
#000: /home/tbrandvik/downloads/ParaView3.2.2/Utilities/hdf5/H5D.c
line 1072 in H5Dcreate(): not a location ID
major(01): Function arguments
minor(03): Inappropriate type
#001: /home/tbrandvik/downloads/ParaView3.2.2/Utilities/hdf5/H5G.c
line 2441 in H5G_loc(): invalid object ID
major(01): Function arguments
minor(05): Bad value
XDMF Error in /home/tbrandvik/downloads/ParaView3.2.2/Utilities/Xdmf2/libsrc/XdmfHDF.cxx
line 850 (Can't Create Temp Dataset CORE:XdmfJunk14.h5:/TempData)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.hdf5
Type: application/octet-stream
Size: 4864 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080613/92ae849d/attachment.obj>
More information about the ParaView
mailing list