autocmake
autocmake copied to clipboard
CBLAS library not found ... which package ?
Well, which package to install ?
milias@adf1:~/Work/programming/autocmake/test/cxx_cblas/build-2017-05-23-09-46-50/.cmake ..
CMake Error at src/CMakeLists.txt:6 (message):
CBLAS library not found
-- Configuring incomplete, errors occurred!
[root@adf1 ~]# yum search all cblas
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.energotel.sk
* epel: ftp.upjs.sk
* extras: ftp.energotel.sk
* updates: ftp.energotel.sk
Warning: No matches found for: cblas
No matches found
After installing atlas-devel, https://www.centos.org/forums/viewtopic.php?t=48543 , no help.
Well, after searching I found in https://github.com/dmlc/mxnet/issues/1442#issuecomment-182171637 that -lcblas has to be switched -lsatlas ...
This means change of cblas.cmake, right Rado ?
add cblas lib path ex:cmake .. -DCMAKE_PREFIX_PATH=/usr/local/lib ... i install CBLAS in /usr/local/lib (include files: cblas_f77.h, cblas.h, libblas.a)