【发布时间】:2016-09-19 04:24:18
【问题描述】:
我在安装 caffe 时遇到问题。
我的系统设置可能不正确,因为我必须在 Makefile.config 文件中手动包含许多库。这是一个共享服务器集群,我没有 sudo 权限。
当前错误:
/opt/gnu/bin/ld: cannot find -lhdf5_hl
/opt/gnu/bin/ld: cannot find -lhdf5
/opt/gnu/bin/ld: cannot find -lopencv_core
/opt/gnu/bin/ld: cannot find -lopencv_highgui
/opt/gnu/bin/ld: cannot find -lopencv_imgproc
/opt/gnu/bin/ld: cannot find -lboost_thread
/opt/gnu/bin/ld: cannot find -lcblas
/opt/gnu/bin/ld: cannot find -latlas
我无法找到这些文件环顾四周。系统通过“模块”使用环境模块。
这些是我当前包含在 Makefile.config 中的内容:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /opt/glog/include /opt/atlas/intel/include /opt/hdf5/intel/openmpi_ib/include /opt//openmpi/intel/ib/include/ /opt/opencv/include/
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /opt/glog/lib
当前加载的模块文件: 1) 英特尔/2013_sp1.2.144 3) gnutools/2.69 5) hdf5/1.8.14 2) mvapich2_ib/2.1 4) atlas/3.10.2 6) openmpi_ib/1.8.4
我想知道是否有人有建议?我很迷茫。
编辑:我切换到 MKL,但仍然遇到这些问题。
【问题讨论】:
标签: c++ linux opencv gcc caffe