Installing OpenBLAS
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install BLAS and LAPACK:
yum install blas64.aarch64 blas64-devel.aarch64 lapack64.aarch64 lapack64-devel.aarch64 -y
If you use a non-default compiler to install the OpenBLAS, download the OpenBLAS and use the specified compiler to install it. Specify the OpenBLAS path for compilation and installation in Compiling and Installing.
- Run the following command to decompress the OpneBLAS installation package:
tar -xvf OpenBLAS-0.3.6.tar.gz
- Run the following command to switch to the directory generated after the package is decompressed:
cd OpenBLAS-0.3.6
- Run the following commands to perform the configuration:
export CC=`which gcc` export CXX=`which g++` export FC=`which gfortran`
- Run the following commands to perform compilation and installation:
make make PREFIX=/path/to/OPENBLAS/install
Parent topic: Configuring the Compilation Environment