Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

hdf5-modules do not have any effect during the runtime of your binaries. If the hdf5-libraries are linked dynamically, it is recommended to set RPATH in the binary. Otherwise the hdf5-libraries (and others) will not be found, during runtime. This can be done with the compiler option -Wl,-rpath=$LD_RUN_PATH, which passes the rpath to the linker.

hdf5 compiler wrapper

The compiler wrapper h5cc, h5fc (parallel h5pcc and h5pfc) can be used to be written ..build programs linking the hdf5-libraries. These wrappers set rpath for all libraries to be linked dynamically for hdf5.

Installing the hdf5-libraries

Prerequisites

  • the szip library
  • for parallel builds intel-MPI or openMPI.
  • all other ingredients (zlib) are part of the system.

Options

version 1.10.

  • --with-pic
  • --enable-production
  • --enable-unsupported --enable-threadsafe
  • --enable-fortran --enable-fortran2003 --enable-cxx


version 1.12.

  • --with-pic
  • --enable-production --enable-optimization=high
  • --enable-direct-vfd --enable-preadwrite
  • --enable-unsupported --enable-threadsafe
  • --enable-fortran --enable-fortran2003 --enable-cxx

Example Script for Installing HDF-5

...