安装hdf5

操作步骤

  1. 下载hdf5安装包“hdf5-1.12.1.tar.gz”。

    下载地址:https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.1/src/hdf5-1.12.1.tar.gz

  2. 使用SFTP工具将名称安装包上传至服务器“/path/to/hdf5/src”目录。
  3. 进入目录解压安装包。

    cd /path/to/hdf5/src
    tar -xvf hdf5-1.12.1.tar.gz
    cd hdf5-1.12.1

  4. 进行配置。

    ./configure --prefix=/path/to/hdf5 --build=aarch64-linux --enable-parallel --enable-shared --enable-fortran

  5. 进行编译安装。

    make -j
    make install