u014710012
LeChauvet
采纳率33.3%
2016-03-04 15:56

ubuntu15.04安装caffe出现问题?

make 进行到最后一步 make runtest 出现问题,求助!!!命令行报错如下:

 [----------] Global test environment tear-down
[==========] 1887 tests from 255 test cases ran. (476334 ms total)
[  PASSED  ] 1880 tests.
[  FAILED  ] 7 tests, listed below:
[  FAILED  ] SGDSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] AdaGradSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] NesterovSolverTest/0.TestSnapshot, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] NesterovSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] AdaDeltaSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] AdamSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>
[  FAILED  ] RMSPropSolverTest/0.TestSnapshotShare, where TypeParam = caffe::CPUDevice<float>

 7 FAILED TESTS
Makefile:523: recipe for target 'runtest' failed
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • baidu_24281959 CodeCold 5年前

    遇到同样问题,但是只有一处错误。查了Git上的回答,解决方案有之前提到的,先执行"export MKL_CBWR=AUTO"就解决的。更多是推荐降级Boost到1.55版本,本人降级了也没有成功。您可以一试。

    点赞 评论 复制链接分享
  • u014710012 LeChauvet 5年前

    Update: I found the cause of my issue mentioned above (not the original issue in this PR): Intel MKL's float point operations (such as matrix multiplication) are non-deterministic by default on my laptop.

    After export MKL_CBWR=AUTO, the results are deterministic and those snapshot test failures disappear.

    Reference on deterministic property of Intel MKL:

    http://community.hartree.stfc.ac.uk/access/content/group/admin/HPC%20Training/Intel%20training%202013/a2_intel_mkl_overview.pdf
    
    点赞 评论 复制链接分享

相关推荐