[Paraview] urgent xdmf

Jerome Soumagne soumagne at cscs.ch
Fri Nov 27 03:36:43 EST 2009


Xdmf is a standalone library providing vtk readers and writers which are 
also integrated in Paraview. I don't know exactly what you want to do 
but if you generate hdf files already, you have to write an xdmf xml 
file by hand (or using like in the example a program/script generating 
text) describing your hdf structure so that you can then read it from 
Paraview or from another vis software using a vtkXdmfReader. In this 
case, I don't see why you would have to compile Xdmf by yourself since 
it's already included in Paraview/Visit.
If you have your own app though, use the vtkXdmfReader, include the 
necessary header files for using the vtkXdmfReader, link to the Xdmf 
library and that's it. There is no gcc/mpicc wrapper to compile programs 
using Xdmf like hdf5 does with h5pcc.

About something to generate xdmf files from hdf, we're currently working 
on something to help this.

I hope this helps you a bit.

Jerome


Le 27/11/2009 00:07, winthan a écrit :
> _when i include "#include <xdmf.h>  in c code ,will it work?is xdmf 
> part of vtk?_
> /
> /
> >>/ use Xdmf with existing HDF5 data you just have to write an XML file
> />>/ which describes the topology and geometry of the data set, and then
> />>/ within that XML you can refer to the spot in the HDF5 file where the
> /
> >>/ data resides. So, it's a pretty easy way to quickly get up and going
> /
> >>/ with viewing your data.
> /as shown below 
> http://www.visitusers.org/index.php?title=Using_XDMF_to_read_HDF5 . it 
> wrote into xmf file (xml wrapper of xdmf which has hdf read).
> any built in function rather than the one in the above website to 
> convert hdf to xdmf for visualization in vtk?(it read xmf format)
> any help?
> there is an xdmf source at http://www.xdmf.org.
>
>    1. mkdir MyXdmf
>    2. cd MyXdmf
>    3. cvs -d ... login
>    4. cvs -d ... co Xdmf This creates an Xdmf directory of the source code
>    5. mkdir Linux
>    6. cd Linux
>    7. cmake ../Xdmf
>    8. make
>
> right now i'm completely under water about whether we need to install 
> the xdmf? how do i compile xdmf? for hdf we just use h5pcc to compile 
> it. how aboutxdmf?
> help
>
> i compiled as below.
>
>
> _______________________________________________
> 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
>    


-- 
Jérôme Soumagne
CSCS, Swiss National Supercomputing Centre
Galleria 2, Via Cantonale  | Tel: +41 (0)91 610 8258
CH-6928 Manno, Switzerland | Fax: +41 (0)91 610 8282


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091127/2806ff21/attachment.htm>


More information about the ParaView mailing list