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 command to decompress the HDF5 installation package:
    tar -xvf hdf5-1.10.5.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd hdf5-1.10.5
  4. Run the following command to perform the configuration:
    ./configure --prefix=/path/to/HDF5 --enable-fortran --enable-parallel CC=mpicc FC=mpif90 CXX=mpicxx
  5. Run the following commands to perform compilation and installation:
    make -j
    make install
  6. Run the following commands to set the HDF5 environment variables:
    export LD_LIBRARY_PATH=/path/to/HDF5/lib:$LD_LIBRARY_PATH
    export HDF5=/path/to/HDF5