caffe faster-rcnn make -j8 报错 ,CentOS

报错内容

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

解决办法
去下载atlas3.10.3.tar.bz2,这个文件有4M多
这个atlas3.10.3.tar.bz2的安装方法

mkdir build
cd build 
../configure --shared
make
make install

安装atlas3.10.3.tar.bz2可能还有F77SYSLIB = -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgfortran根据具体情况配对的问题,不过实际好像如果有gfortran应该就没问题

然后在caffe的Makefile.config文件里改

BLAS_LIB := /usr/local/atlas/lib/

这里/usr/local/atlas/lib/有libtatlas.so文件

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native