cannot find -lcblas cannot find -latlas | caffe

466 views
Skip to first unread message

Gejun Zhu

unread,
Apr 26, 2016, 10:23:01 PM4/26/16
to Caffe Users
When running `make all`, I got the following error:

LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1

How can I solve this problem? Thanks.

Gejun Zhu

unread,
Apr 26, 2016, 10:45:47 PM4/26/16
to Caffe Users
I figured it out. Forgot to install BLAS. -_-!!!

BLAS: install ATLAS by sudo apt-get install libatlas-base-dev or install OpenBLAS or MKL for better CPU performance.
Reply all
Reply to author
Forward
0 new messages