BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

Compilation, error cannot find -lcblas latlas #7001

Open yonatanbitton opened 3 years ago

yonatanbitton commented 3 years ago

Issue summary

Following the instructions here: http://caffe.berkeleyvision.org/installation.html#compilation Working on RHEL / Fedora / CentOS Installation

The first lines:

sudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel
sudo yum install gflags-devel glog-devel lmdb-devel

return Nothing to do so it seem fine.

I've also installed atlas by: sudo yum install atlas-devel

Package atlas-devel-3.10.1-12.amzn2.0.2.x86_64 already installed and latest version
Nothing to do

I set BLAS_LIB in the makefile to be: /usr/lib64/atlas

That's my BLAS lines: BLAS := atlas

# Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
# Leave commented to accept the defaults for your choice of BLAS
# (which should work)!
BLAS_INCLUDE := /usr/lib64/atlas
BLAS_LIB := /usr/lib64/atlas

But I receive:

/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas

Tried solutions

System configuration

How can I solve it ?

Are there more updated instructions?

Thanks