我要评分
获取效率
正确性
完整性
易理解

Installing HDF5

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to decompress the HDF5 installation package:
    cd /path/to/SRC
    tar -xvf hdf5-1.10.1.tar
  3. Run the following command to go to the directory generated after decompression:
    cd hdf5-1.10.1
  4. Run the following command to perform the configuration:
    ./configure --enable-parallel --enable-shared --prefix=/path/to/DEPENDENCIES CC=mpicc CXX=mpic++
  5. Run the following commands to perform the compilation and installation:
    make -j
    make -j install
  6. Run the following commands to configure environment variables:
    export PATH=/path/to/DEPENDENCIES/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/DEPENDENCIES/lib:$LD_LIBRARY_PATH