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