Installing OpenBLAS
Before configuring the compilation environment, install the BiSheng Compiler and Hyper MPI, and import the BiSheng Compiler and Hyper MPI environment variables. If the BiSheng Compiler and Hyper MPI have been installed in the environment, directly import their environment variables.
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the OpenBLAS installation package.
unzip OpenBLAS-0.3.6.zip
- Go to the directory generated after the decompression.
cd OpenBLAS-0.3.6
- Perform the configuration.
export CC=clang export CXX=clang++ export FC=flang
- 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