Rate This Document
Findability
Accuracy
Completeness
Readability

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 the OpenBLAS, download the OpenBLAS and use the specified compiler to install it. Specify the OpenBLAS path for compilation and installation in Compiling and Installing.

  3. Run the following command to decompress the OpneBLAS installation package:
    tar -xvf OpenBLAS-0.3.6.tar.gz
  4. Run the following command to switch to the directory generated after the package is decompressed:
    cd OpenBLAS-0.3.6
  5. Run the following commands to perform the configuration:
    export CC=`which gcc`
    export CXX=`which g++`
    export FC=`which gfortran`
  6. Run the following commands to perform compilation and installation:
    make
    make PREFIX=/path/to/OPENBLAS/install