Openblas is an optimized Blas library based on the GotoBlas21.13 BSD version, with the following installation steps:
Install under Windows:
1. Download the latest Openblas library in Sourgeforge: http://sourceforge.net/projects/openblas/files/
2. Unzip the downloaded source to the working directory, for example: E:\VMwareSharedFolder\OpenBLAS
3. Based on Openblas's instructions on GitHub "Howto use Openblas in Microsoft Visual Studio", download MinGW, launch Mysys Shell, check the version of GCC, If less than 4.7, then upgrade, or directly compiled, the command is as follows:
Gcc–v:: View the GCC version number
Mingw-get REMOVEGCC:: Uninstalling GCC
Mingw-get UPDATEGCC:: Update gcc
Mingw-getupgrade gcc:: Upgrade gcc
4. Ensure that the GCC version is above 4.7, enter the Openblas directory in the Mysys shell, enter make to start compiling, Openblas automatically detects the compiler and CPU:
5. After compiling, in the Openblas directory, there will be LIBOPENBLAS.A and libopenblas.dll two files, install a command to install the compiled Openblas library into the system:
[Plain]View Plaincopy
- Make Prefix=/c/warmerda/openblas Install
6. After installation, the include and Lib two directories appear in the C:\warmerda\OpenBLAS directory, including the header file of the library. Lib directory is libopenblas.a and libopenblas.dll two files, wherein LIBOPENBLAS.A is MinGW lib library file, Libopenblas.dll is the dynamic library file of Windows, currently we only have dynamic library, there is no Lib file, so we need to For further processing, the Lib file that generated windows can be used. In the next file, I will explain how to generate a Lib file from a DLL file and see the Lib library file generated by the dynamic library file DLL.
http://blog.csdn.net/giselite/article/details/32094701
Openblas Compilation method (experience using MinGW under Msys)