Rate This Document
Findability
Accuracy
Completeness
Readability

Installing HDF5

  1. Use PuTTY to log in to the server as the root user.
  2. Set the environment variables.
    export PATH=/path/to/GNU/bin:/path/to/OPENMPI/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/GNU/lib64:/path/to/OPENMPI/lib:$LD_LIBRARY_PATH
  3. Decompress the HDF5 installation package.
    tar -xvf hdf5-1.10.1.tar.gz
  4. Go to the directory generated after the decompression.
    cd hdf5-1.10.1
  5. Create a /path/to/HDF5 directory.
    mkdir -p /path/to/HDF5
  6. Perform the configuration.
    ./configure --prefix=/path/to/HDF5  --build=aarch64-unknown-linux-gnu --enable-fortran --enable-static=yes --enable-parallel --enable-shared CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
  7. Perform the compilation and installation.
    make -j 16
    make install