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

Installing OpenBLAS

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install BLAS and LAPACK:
    yum install blas64.aarch64 blas64-devel.aarch64 lapack64.aarch64 lapack64-devel.aarch64 -y

    If you use a non-default compiler to install OpenBLAS, download OpenBLAS and use the specified compiler to install it. Specify the OpenBLAS path for compilation and installation in compilation and installation.

  3. Run the following command to decompress the OpenBLAS installation package:
    tar xvf OpenBLAS-0.3.6.tar.gz
  4. Run the following command to go to the directory generated after the decompression:
    cd OpenBLAS-0.3.6
  5. Run the following command to perform the configuration:
    export CC=`which gcc`
    export CXX=`which g++`
    export FC=`which gfortran`
  6. Run the following commands to perform the compilation and installation:
    make
    make PREFIX=/path/to/OPENBLAS install
  7. Run the following commands to set the OpenBLAS environment variable:
    export LD_LIBRARY_PATH=/path/to/OPENBLAS/lib:$LD_LIBRARY_PATH