dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
41 stars 18 forks source link

CBLAS library not found ... which package ? #201

Open miroi opened 7 years ago

miroi commented 7 years ago

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
miroi commented 7 years ago

After installing atlas-devel, https://www.centos.org/forums/viewtopic.php?t=48543 , no help.

miroi commented 7 years ago

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 ?

dangvansam commented 4 years ago

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)