caffe faster-rcnn make -j8 报错 ,CentOS

来源:互联网 发布:淘宝直播可以用电脑吗 编辑:程序博客网 时间:2024/05/23 02:04

报错内容:

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

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

mkdir buildcd build ../configure --sharedmakemake 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文件

0 0
原创粉丝点击