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