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

Installing OpenBLAS

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the OpenBLAS installation package:
    tar xvf OpenBLAS-0.3.7.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd OpenBLAS-0.3.7
  4. Run the following commands to declare the compilation 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
    make PREFIX=/path/to/OPENBLAS install
  6. Run the following command to load environment variables:
    export LD_LIBRARY_PATH=/path/to/OPENBLAS/lib:$LD_LIBRARY_PATH