Rate This Document
Findability
Accuracy
Completeness
Readability

Installing OpenBLAS

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use an SFTP tool to upload the OpenBLAS installation package to the /path/to/OPENBLAS directory.
  3. Run the following command to install dependencies:
    yum install blas blas-devel lapack lapack-devel -y
  4. Run the following command to decompress the installation package:
    cd /path/to/OPENBLAS && tar -zxf OpenBLAS-0.3.9.tar.gz
  5. Run the following command to go to the directory generated after the decompression:
    cd OpenBLAS-0.3.9/
  6. Run the following commands to set the environment variables:
    export CC=`which gcc`
    export CXX=`which g++`
    export FC=`which gfortran`
  7. Run the following commands to perform the compilation and installation:
    make -j 32
    make PREFIX=/path/to/OPENBLAS install