caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Compilation, error cannot find -lcblas latlas

Open yonatanbitton opened this issue 3 years ago • 0 comments

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

  • Operating system: centos rhel fedora
  • Compiler: gcc (GCC) 7.3.1
  • CUDA version (if applicable): Cuda 9.2
  • BLAS: atlas
  • Python version (if using pycaffe): 2.7

How can I solve it ?

Are there more updated instructions?

Thanks

yonatanbitton avatar Apr 24 '21 16:04 yonatanbitton