Example to get kickstarted
To experiment with the ICTR HDF5 Lagrangian data format first you will need to have all the HDF5 libraries and executables.
You can get them from here: http://hdf.ncsa.uiuc.edu/HDF5/
- Download the latest tarball file (presently: hdf5-1.6.5.tar.gz) and uncompress it on your HOME dir.
- Change directory: "cd hdf5-1.6.5"
- Configure: "./configure --prefix=$HOME/hdf5"
- Build: "make check"
- Install: "make install"
- Add to to your PATH environment variable: "$HOME/hdf5/bin/"
Now you are ready to get an example datafile. To get one :
- Anonymous ftp on sp.sp5.cineca.it as user cmprm001
- "cd HDF5"
- "get RM-2006-LIGHT-512.St0.0.h5" (notice: directory listing does not work, the example file is 100Mbytes)
At this point you may want to give a glance inside the data...:
"h5dump RM-2006-LIGHT-512.St0.0.h5" will show the content of the HDF5
To decode in a snap the data, you may want to fetch the ICTR HDF5 myhdf5.h library for C.
To download the library myhdf5.h necessary to compile the example readout program:
http://viewcvs.cineca.it/viewvc/ictr-libs/myhdf5.h?root=ICTR
While to get the whole tar-gz with libray, example.c and Makefile :
http://viewcvs.cineca.it/viewvc/ictr-libs.tar.gz?root=ICTR&view=tar
After uncompressing it, type "make" and then run the test program "./example"
Note:
to compile the ICTR HDF5 code under Windows XP follow the how-toby Alex Liberzon:
http://www.eng.tau.ac.il/~alexlib/ptvwiki/pmwiki.php?n=PTV.ICTRHDF5