alibaba / x-deeplearning

An industrial deep learning framework for high-dimension sparse data
Apache License 2.0
4.26k stars 1.03k forks source link

blaze编译失败 #151

Open XiaolongMeng opened 5 years ago

XiaolongMeng commented 5 years ago

所有依赖安装后在make -j 8步骤编译不过去 --recursive选项已加 麻烦帮忙看下什么原因 canning dependencies of target trie_test Scanning dependencies of target combine_func_op_test Scanning dependencies of target vml_test Scanning dependencies of target dot_product_op_test Scanning dependencies of target constant_fill_op_test Scanning dependencies of target c_api_test Scanning dependencies of target batch_normalization_test Scanning dependencies of target xdl_importer_test make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/trie_test.dir/build.make blaze/test/CMakeFiles/trie_test.dir/build make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' [ 59%] Building CXX object blaze/test/CMakeFiles/trie_test.dir/store/quick_embedding/trie_test.cc.o make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/c_api_test.dir/build.make blaze/test/CMakeFiles/c_api_test.dir/build cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/trie_test.dir/store/quick_embedding/trie_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/store/quick_embedding/trie_test.cc make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/combine_func_op_test.dir/build.make blaze/test/CMakeFiles/combine_func_op_test.dir/build make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/dot_product_op_test.dir/build.make blaze/test/CMakeFiles/dot_product_op_test.dir/build make -f blaze/test/CMakeFiles/constant_fill_op_test.dir/build.make blaze/test/CMakeFiles/constant_fill_op_test.dir/build make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/batch_normalization_test.dir/build.make blaze/test/CMakeFiles/batch_normalization_test.dir/build make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' [ 59%] Building CXX object blaze/test/CMakeFiles/c_api_test.dir/api/c_api_test.cc.o cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/c_api_test.dir/api/c_api_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/api/c_api_test.cc make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/xdl_importer_test.dir/build.make blaze/test/CMakeFiles/xdl_importer_test.dir/build [ 60%] Building CXX object blaze/test/CMakeFiles/combine_func_op_test.dir/operator/sparse_op/cross/combine_func_op_test.cc.o cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/combine_func_op_test.dir/operator/sparse_op/cross/combine_func_op_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/sparse_op/cross/combine_func_op_test.cc [ 60%] Building CXX object blaze/test/CMakeFiles/dot_product_op_test.dir/operator/sparse_op/cross/dot_product_op_test.cc.o [ 60%] Building CXX object blaze/test/CMakeFiles/constant_fill_op_test.dir/operator/op/constant_fill_op_test.cc.o cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/dot_product_op_test.dir/operator/sparse_op/cross/dot_product_op_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/sparse_op/cross/dot_product_op_test.cc cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/constant_fill_op_test.dir/operator/op/constant_fill_op_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/op/constant_fill_op_test.cc make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' [ 60%] Building CXX object blaze/test/CMakeFiles/batch_normalization_test.dir/operator/op/batch_normalization_test.cc.o make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' make -f blaze/test/CMakeFiles/vml_test.dir/build.make blaze/test/CMakeFiles/vml_test.dir/build cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/batch_normalization_test.dir/operator/op/batch_normalization_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/op/batch_normalization_test.cc make[2]: Entering directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' [ 60%] Building CXX object blaze/test/CMakeFiles/xdl_importer_test.dir/model_importer/xdl_importer_test.cc.o cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/xdl_importer_test.dir/model_importer/xdl_importer_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/model_importer/xdl_importer_test.cc [ 60%] Building CXX object blaze/test/CMakeFiles/vml_test.dir/math/vml_test.cc.o cd /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/test && /usr/bin/c++ -DONNX_NAMESPACE=onnx -I/notebooks/notebook/intel/mkl/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/model_importer -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/gtest -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/zlib/zlib-1.2.8 -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/1.2.2/include -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2/onnx -I/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/onnx/onnx-1.2.2 -DUSE_MKL -O2 -DNDEBUG -std=c++11 -fPIC -ftree-vectorize -Wcpp -mavx -mavx2 -mf16c -fopenmp -g -DHAVE_PTHREAD -g --coverage -Dprivate=public -Dprotected=public -o CMakeFiles/vml_test.dir/math/vml_test.cc.o -c /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/math/vml_test.cc In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/store/quick_embedding/trie_test.cc:9: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/sparse_op/cross/dot_product_op_test.cc:5: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/op/constant_fill_op_test.cc:5: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/sparse_op/cross/combine_func_op_test.cc:5: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/op/batch_normalization_test.cc:5: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/model_importer/xdl_importer_test.cc:5: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/math/vml_test.cc:5: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ blaze/test/CMakeFiles/trie_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/trie_test.dir/store/quick_embedding/trie_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/trie_test.dir/store/quick_embedding/trie_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1296: recipe for target 'blaze/test/CMakeFiles/trie_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/trie_test.dir/all] Error 2 make[1]: 正在等待未完成的任务.... In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/gtest/gtest.h:292:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/api/c_api_test.cc:12: /usr/include/c++/5/sstream:300:7: error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access struct xfer_bufptrs ^ /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/api/c_api_test.cc: In member function ‘virtual void blaze::TestPreditorManager_Load_Test::TestBody()’: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/api/c_api_test.cc:166:24: error: ‘isnan’ was not declared in this scope if (isnan(data[k]) && check_first) { ^ /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/api/c_api_test.cc:166:24: note: suggested alternative: In file included from /usr/include/c++/5/random:38:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/thirdparty/protobuf/protobuf-3.6.0/src/google/protobuf/stubs/common.h:38, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build/blaze/proto/blaze.pb.h:9, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/api/c_api_test.cc:9: /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’ isnan(_Tp x) ^ blaze/test/CMakeFiles/c_api_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/c_api_test.dir/api/c_api_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/c_api_test.dir/api/c_api_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1258: recipe for target 'blaze/test/CMakeFiles/c_api_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/c_api_test.dir/all] Error 2 blaze/test/CMakeFiles/vml_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/vml_test.dir/math/vml_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/vml_test.dir/math/vml_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1410: recipe for target 'blaze/test/CMakeFiles/vml_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/vml_test.dir/all] Error 2 In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/context.h:10:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/operator/operator.h:10, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/operator_test_common.h:11, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/sparse_op/cross/dot_product_op_test.cc:9: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h: In static member function ‘static void blaze::Allocator<0>::Alloc(size_t, int)’: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h:43:36: warning: ignoring return value of ‘int posix_memalign(void, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] posix_memalign(&data, 64, size); ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/context.h:10:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/operator/operator.h:10, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/operator_test_common.h:11, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/op/batch_normalization_test.cc:9: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h: In static member function ‘static void* blaze::Allocator<0>::Alloc(size_t, int)’: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h:43:36: warning: ignoring return value of ‘int posix_memalign(void, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] posix_memalign(&data, 64, size); ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/context.h:10:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/operator/operator.h:10, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/operator_test_common.h:11, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/sparse_op/cross/combine_func_op_test.cc:9: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h: In static member function ‘static void* blaze::Allocator<0>::Alloc(size_t, int)’: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h:43:36: warning: ignoring return value of ‘int posix_memalign(void*, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] posix_memalign(&data, 64, size); ^ In file included from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/context.h:10:0, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/operator/operator.h:10, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/operator_test_common.h:11, from /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/test/operator/op/constant_fill_op_test.cc:9: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h: In static member function ‘static void blaze::Allocator<0>::Alloc(size_t, int)’: /notebooks/notebook/serving/deck_test/x-deeplearning/blaze/blaze/common/allocator.h:43:36: warning: ignoring return value of ‘int posix_memalign(void, size_t, size_t)’, declared with attribute warn_unused_result [-Wunused-result] posix_memalign(&data, 64, size); ^ blaze/test/CMakeFiles/dot_product_op_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/dot_product_op_test.dir/operator/sparse_op/cross/dot_product_op_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/dot_product_op_test.dir/operator/sparse_op/cross/dot_product_op_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1524: recipe for target 'blaze/test/CMakeFiles/dot_product_op_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/dot_product_op_test.dir/all] Error 2 blaze/test/CMakeFiles/batch_normalization_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/batch_normalization_test.dir/operator/op/batch_normalization_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/batch_normalization_test.dir/operator/op/batch_normalization_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1372: recipe for target 'blaze/test/CMakeFiles/batch_normalization_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/batch_normalization_test.dir/all] Error 2 blaze/test/CMakeFiles/combine_func_op_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/combine_func_op_test.dir/operator/sparse_op/cross/combine_func_op_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/combine_func_op_test.dir/operator/sparse_op/cross/combine_func_op_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1334: recipe for target 'blaze/test/CMakeFiles/combine_func_op_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/combine_func_op_test.dir/all] Error 2 blaze/test/CMakeFiles/constant_fill_op_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/constant_fill_op_test.dir/operator/op/constant_fill_op_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/constant_fill_op_test.dir/operator/op/constant_fill_op_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1486: recipe for target 'blaze/test/CMakeFiles/constant_fill_op_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/constant_fill_op_test.dir/all] Error 2 blaze/test/CMakeFiles/xdl_importer_test.dir/build.make:65: recipe for target 'blaze/test/CMakeFiles/xdl_importer_test.dir/model_importer/xdl_importer_test.cc.o' failed make[2]: [blaze/test/CMakeFiles/xdl_importer_test.dir/model_importer/xdl_importer_test.cc.o] Error 1 make[2]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' CMakeFiles/Makefile2:1448: recipe for target 'blaze/test/CMakeFiles/xdl_importer_test.dir/all' failed make[1]: [blaze/test/CMakeFiles/xdl_importer_test.dir/all] Error 2 make[1]: Leaving directory '/notebooks/notebook/serving/deck_test/x-deeplearning/blaze/build' Makefile:141: recipe for target 'all' failed make: *** [all] Error 2

XiaolongMeng commented 5 years ago

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 mkl是从官方下的l_mkl_2019.2.187.tgz

vincentLk commented 5 years ago

同问,error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access

取消了test,才编译过了

而且 cd /opt/blaze/tools/example_model sudo sh build_all_model.sh 失败 提示的是: ctypes.CDLL('/opt/blaze/lib/libblaze.so') Floating point exception 不知道为啥会抛出这个异常

aaronchan90 commented 5 years ago

同问,error: ‘struct std::cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::xfer_bufptrs’ redeclared with different access

取消了test,才编译过了

而且 cd /opt/blaze/tools/example_model sudo sh build_all_model.sh 失败 提示的是: ctypes.CDLL('/opt/blaze/lib/libblaze.so') Floating point exception 不知道为啥会抛出这个异常 遇到了相同的问题,请问最后解决了么? “取消test” 是什么意思?怎么修改呢?

xxqcheers commented 5 years ago

``gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 mkl是从官方下的l_mkl_2018.3.222.tgz也编译不过去