Caffe: Make runtest fails ubuntu 18.04 cuda 9.1

Created on 29 Jan 2019  ·  3Comments  ·  Source: BVLC/caffe

Issue summary

I passed make -j8 all and make -j8 test but make -j8 runtest gives me the following error :

.build_release/tools/caffe: symbol lookup error: .build_release/tools/caffe: undefined symbol: _ZN5caffe3NetIfE21CopyTrainedLayersFromERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Makefile:543: recipe for target 'runtest' failed
make: *** [runtest] Error 127

Tested solutions

Tried adding -G to NVCC in Debugging section of Makefile then Make clean Make -j8 all make -j8 test make -j8 runtest. Get the same error.

System configuration

Python 3.6

  • Operating system: Ubuntu 18.04
  • Compiler: gcc 7.3
  • CUDA version (if applicable): 9.1
  • CUDNN version (if applicable): 7.1
  • BLAS: atlas
  • Python version (if using pycaffe): 3.6
  • MATLAB version (if using matcaffe):

Most helpful comment

该问题是来链接库的访问权限问题,你的账户权限不够,有两种方法,第一种用sudo make runtest,第二种删除usr/lib/x86-64gxln下的libcaffe.so.1.0.0文件

All 3 comments

Have you solved it ? I have the same error

该问题是来链接库的访问权限问题,你的账户权限不够,有两种方法,第一种用sudo make runtest,第二种删除usr/lib/x86-64gxln下的libcaffe.so.1.0.0文件

该问题是来链接库的访问权限问题,你的账户权限不够,有两种方法,第一种用sudo make runtest,第二种删除usr/lib/x86-64gxln下的libcaffe.so.1.0.0文件

非常感谢你的解答,非常完美的解决了我困扰很久的问题~

Was this page helpful?
0 / 5 - 0 ratings