Install HDF5

From Micro and Nano Mechanics Group
Revision as of 02:37, 4 February 2009 by Correaa (talk | contribs) (New page: = Install HDF5 = http://www.hdfgroup.org/HDF5/ HDF5 is a library for managing large numerical data sets. It is appropriate for saving and retrieving data from large files. It also sup...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install HDF5

[HDF5] is a library for managing large numerical data sets. It is appropriate for saving and retrieving data from large files. It also supports parallel access to files in HDF5 format, in particular within the MPI environment.

Some popular numerical packages, like MATLAB, Mathematica, Octave and ROOT, already have native support for HDF5 format. If you want to quickly experiment with HDF5 files, you can use those programs to see how it works.

For example, in Mathematica

 m = RandomInteger[255, {5, 5}]
 Export[ "matrix.h5", m]
 mLoad = Import["matrix.h5", {"Datasets", "/Dataset1"}]

will create a binary file called "matrix.h5" with the matrix data.