Installing OpenBLAS
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the OpenBLAS installation package.
tar -xvf OpenBLAS-0.3.6.tar.gz
- Go to the directory generated after the decompression.
cd OpenBLAS-0.3.6
- Set the environment variables.
export CC=`which clang` export CXX=`which clang++` export FC=`which flang`
- Compile and install OpenBLAS.
make make PREFIX=/path/to/OPENBLAS install
- Set the OpenBLAS environment variables.
export LD_LIBRARY_PATH=/path/to/OPENBLAS/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment