Rate This Document
Findability
Accuracy
Completeness
Readability

Installing HDF5

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to install HDF5.
    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
    tar -xvf hdf5-1.10.1.tar.gz
    cd hdf5-1.10.1
    mkdir -p /path/to/HDF5
    ./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
    make -j 16
    make install
  3. Run the following commands to check whether HDF5 is successfully installed:
    cd /path/to/HDF5
    ls lib

    If the following information is displayed, the installation is successful.