autocmake icon indicating copy to clipboard operation
autocmake copied to clipboard

CBLAS library not found ... which package ?

Open miroi opened this issue 7 years ago • 3 comments

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 avatar May 23 '17 08:05 miroi

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

miroi avatar May 23 '17 08:05 miroi

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 ?

miroi avatar May 23 '17 09:05 miroi

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)

dangvansam avatar Aug 25 '20 05:08 dangvansam