Rate This Document
Findability
Accuracy
Completeness
Readability

Installing OpenBLAS

Before configuring the compilation environment, install the BiSheng Compiler and Hyper MPI, and import the BiSheng Compiler and Hyper MPI environment variables. If the BiSheng Compiler and Hyper MPI have been installed in the environment, directly import their environment variables.

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the OpenBLAS installation package.
    unzip OpenBLAS-0.3.6.zip
  3. Go to the directory generated after the decompression.
    cd OpenBLAS-0.3.6
  4. Perform the configuration.
    export CC=clang
    export CXX=clang++
    export FC=flang
  5. Perform the compilation and installation.
    make
    make PREFIX=/path/to/OPENBLAS install
  6. Load the environment variables.
    export LD_LIBRARY_PATH=/path/to/OPENBLAS/lib:$LD_LIBRARY_PATH