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 decompress the installation package:
    tar xzvf OpenBLAS-0.3.9.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd OpenBLAS-0.3.9/
  4. Run the following commands to set the environment variables:
    export CC=`which gcc`
    export CXX=`which g++`
    export FC=`which gfortran`
  5. Run the following commands to perform compilation and installation:
    make -j 96
    make PREFIX=/path/to/OPENBLAS install
  6. Run the following commands to set the OpenBLAS environment variables:
    export LIBRARY_PATH=/path/to/OPENBLAS/lib:$LIBRARY_PATH
    export LD_LIBRARY_PATH=/path/to/OPENBLAS/lib:$LD_LIBRARY_PATH