Install OpenBLAS from source
Do not miss this exclusive book on Binary Tree Problems. Get it now for free.
Reading time: 10 minutes
In this guide, we will walk you through the installation steps of OpenBLAS in three simple steps.
OpenBLAS is an open source optimized BLAS (Basic Linear Algebra Subprograms) library based on GotoBLAS2 1.13 BSD version.
Get your source code
You need to clone the source code of OpenBLAS to your local workspace using the following command:
git clone https://github.com/xianyi/OpenBLAS.git
cd OpenBLAS
Build and prepare OpenBLAS
As the next step, you need to build the source of OpenMP using the following command:
make -j4
Install OpenBLAS
You need to install OpenBLAS and get the shared library:
make install
If you want the shared library to a particular location (say <path_to_your_destination>), then replace "make install" by:
make PREFIX=<path_to_your_destination> install
Enjoy the power of parallel execution, you have install OpenBLAS
Sign up for FREE 3 months of Amazon Music. YOU MUST NOT MISS.