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

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Install the dependencies.
    yum install lapack lapack-devel blas blas-devel bzip2-devel.aarch64 python-pip zlib-devel.aarch64 xz-devel hdf5-devel libjpeg
  3. Modify the Makefile file.
    1. Open the Makefile file.
      vi Makefile
    2. Press i to enter the edit mode.
      • Add ARM ?= 1 to line 18.

      • Add aarch64=1 to line 109.

      • Added --build=arm-linux to the Libhdf5 compilation option.

        After performing 3.a, press Esc, type :set nu, and press Enter to display the line number.

    3. Press Esc, type :wq!, and press Enter to save the settings and exit.
  4. Perform the compilation.
    make
  5. Install the Python 3 extension components.
    yum -y install python3 python3-devel
    pip3 install wheel
    pip3 install -r scripts/requirements.txt --user

    If a component missing error is reported during the installation, install the component separately:

    pip install NANOPOLISH