HDF5
From MohidWiki
HDF5 is a general purpose library and file format for storing scientific data. It's the standard input/output format of spatial and/or temporal data sets in MOHID.
Contents
HDF5 libraries
Windows
The windows binaries are served directly from our codeplex repository, so there is no need to install them.
Linux
To compile Mohid it is mandatory to have the HDF5 [1] libraries compiled. In HDF5's web page it is possible to obtain both binary distribuitions and the source code. Most of the times it is necessary to build from source which takse the following steps:
- download the source code, e. g. hdf5-1.6.5.tar.gz;
-
> tar -zxvf hdf5-1.6.5.tar.gz
-
> cd hdf5-1.6.5
-
> F9X=ifort ./configure --enable-fortran (--prefix=$HDF5ROOTDIR --enable-parallel)
-
> make
-
> make check
-
> make install
Libraries may be found in ./hdf5/lib/ and, typically, in /opt/hdf5/hdf5/lib. Detailed information may be found in file ./release_docs/INSTALL.
Zlib libraries
To use the HDF5 libraries it is mandatory to have installed the zlib libraries. So install the zlib package for your linux distro. Also, keep a record of where the libz.a library is installed (it might come in handy later on).#
Back to Mohid developers page
References
HDF5 Homepage - [2]