Personal tools
You are here: Home Documentation How-To compile of HDF5

compile of HDF5

We explain here some steps to compile HD5 with parallel support and to include it in the configuration of EpetraExt. Note: I am doing this wiht trilinos-8. I didn't check if that is available with trilinos-6 or 7...

HDF5

Dowload hdf5 from here I used the following configure on my Mac:

    ../configure --prefix=/Users/simone/local/opt-mpich-1/hdf5 \
    --without-ssl --with-zlib --without-mpe --without-pablo \
    --with-szlib=/sw --without-gass --without-srb --without-pthread \
    --enable-parallel \
    CC=/Users/simone/local/mpich-1.2.7/ch_p4/bin/mpicc

    make
    make install

:-)

Trilinos (or better, just epetraext, since support comes from there)

I added the following extra flags:

   --enable-epetraext-hdf5 \
   --with-incdirs=-I/Users/simone/local/opt-mpich-1/hdf5/include \
   --with-ldflags=-L/Users/simone/local/opt-mpich-1/hdf5/lib/ \
   --with-libs=-lhdf5

  and recompiled trilinos :-)

Document Actions