...
No Format |
---|
First attempt: make make 2>&1 | tee makelog.txt [ 0%] Running C++/Python protocol buffer compiler on /sw/caffe/caffe-master/src/caffe/proto/caffe.proto Scanning dependencies of target proto [ 1%] Building CXX object src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o [ 1%] Linking CXX static library ../../lib/libproto.a [ 1%] Built target proto [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_math_functions.cu.o [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_absval_layer.cu.o [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_base_data_layer.cu.o [ 2%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_batch_norm_layer.cu.o [ 2%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_batch_reindex_layer.cu.o [ 2%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_bias_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_bnll_layer.cu.o [ 4%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_concat_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_contrastive_loss_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_conv_layer.cu.o [ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_crop_layer.cu.o [ 6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_conv_layer.cu.o snip <<< CLIP [ 97%] Building CXX object examples/CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o [ 98%] Linking CXX executable cifar10/convert_cifar_data [ 98%] Built target convert_cifar_data Scanning dependencies of target pycaffe [ 98%] Building CXX object python/CMakeFiles/pycaffe.dir/caffe/_caffe.cpp.o In file included from /sw/library/boost/1.60.0/ser/include/boost/type_traits/ice.hpp:15, from /sw/library/boost/1.60.0/ser/include/boost/python/detail/def_helper.hpp:9, from /sw/library/boost/1.60.0/ser/include/boost/python/class.hpp:29, from /sw/library/boost/1.60.0/ser/include/boost/python.hpp:18, from /sw/caffe/caffe-master/python/caffe/_caffe.cpp:7: /sw/library/boost/1.60.0/ser/include/boost/type_traits/detail/ice_or.hpp:17: note: #pragma message: NOTE: Use of this header (ice_or.hpp) is deprecated In file included from /sw/library/boost/1.60.0/ser/include/boost/type_traits/ice.hpp:16, from /sw/library/boost/1.60.0/ser/include/boost/python/detail/def_helper.hpp:9, from /sw/library/boost/1.60.0/ser/include/boost/python/class.hpp:29, from /sw/library/boost/1.60.0/ser/include/boost/python.hpp:18, from /sw/caffe/caffe-master/python/caffe/_caffe.cpp:7: /sw/library/boost/1.60.0/ser/include/boost/type_traits/detail/ice_and.hpp:18: note: #pragma message: NOTE: Use of this header (ice_and.hpp) is deprecated In file included from /sw/library/boost/1.60.0/ser/include/boost/type_traits/ice.hpp:17, from /sw/library/boost/1.60.0/ser/include/boost/python/detail/def_helper.hpp:9, from /sw/library/boost/1.60.0/ser/include/boost/python/class.hpp:29, from /sw/library/boost/1.60.0/ser/include/boost/python.hpp:18, from /sw/caffe/caffe-master/python/caffe/_caffe.cpp:7: /sw/library/boost/1.60.0/ser/include/boost/type_traits/detail/ice_not.hpp:17: note: #pragma message: NOTE: Use of this header (ice_not.hpp) is deprecated In file included from /sw/library/boost/1.60.0/ser/include/boost/type_traits/ice.hpp:18, from /sw/library/boost/1.60.0/ser/include/boost/python/detail/def_helper.hpp:9, from /sw/library/boost/1.60.0/ser/include/boost/python/class.hpp:29, from /sw/library/boost/1.60.0/ser/include/boost/python.hpp:18, from /sw/caffe/caffe-master/python/caffe/_caffe.cpp:7: /sw/library/boost/1.60.0/ser/include/boost/type_traits/detail/ice_eq.hpp:17: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated [100%] Linking CXX shared library ../lib/_caffe.so Creating symlink /sw/caffe/caffe-master/python/caffe/_caffe.so -> /sw/caffe/caffe-master/build/lib/_caffe.so [100%] Built target pycaffe Scanning dependencies of target matlab [100%] Building Matlab interface: /sw/caffe/caffe-master/matlab/+caffe/private/caffe_.mex Building with 'g++'. cc1plus: error: unrecognized command line option "-std=c++11" make[2]: *** [../matlab/+caffe/private/caffe_.mex] Error 255 make[1]: *** [matlab/CMakeFiles/matlab.dir/all] Error 2 make: *** [all] Error 2 >>>>>>>> module load compilers/gcc-4.7.1 make 2>&1 | tee makelog2.txt -- Boost version: 1.60.0 -- Found the following Boost libraries: -- system -- thread -- filesystem -- chrono -- date_time -- atomic -- Found gflags (include: /sw/caffe/gflags/usr/local/include, library: /sw/caffe/gflags/usr/local/lib/libgflags.a) -- Found glog (include: /sw/caffe/glog/0.3.3/include, library: /sw/caffe/glog/0.3.3/lib/libglog.so) -- Found PROTOBUF Compiler: /sw/caffe/protobuf/bin/protoc -- Found lmdb (include: /sw/caffe/lmdb/usr/local/include, library: /sw/caffe/lmdb/usr/local/lib/liblmdb.so) -- Found LevelDB (include: /sw/caffe/leveldb/include, library: /sw/caffe/leveldb/lib/libleveldb.so) -- Found Snappy (include: /sw/caffe/snappy/include, library: /sw/caffe/snappy/lib/libsnappy.so) -- CUDA detected: 7.5 -- Found cuDNN: ver. 4.0.7 found (include: /sw/cuda/cuda_7.5.18/include, library: /sw/cuda/cuda_7.5.18/lib64/libcudnn.so) -- Added CUDA NVCC flags for: sm_20 -- LIBS3.1.0 -- OpenCV found () -- Found Atlas (include: /sw/library/atlas/3.10.2/include, library: /sw/library/atlas/3.10.2/lib/libatlas.so) -- NumPy ver. 1.12.0.dev0+1380fdd found (include: /sw/python/2.7.1-shared/lib/python2.7/site-packages/numpy-1.12.0.dev0+1380fdd-py2.7-linux-x86_64.egg/numpy/core/include) -- Boost version: 1.60.0 -- Found the following Boost libraries: -- python dirname: missing operand Try `dirname --help' for more information. dirname: missing operand Try `dirname --help' for more information. Not enough input arguments. -- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/ -- -- ******************* Caffe Configuration Summary ******************* -- General: -- Version : 1.0.0-rc3 -- Git : unknown -- System : Linux -- C++ compiler : /usr/bin/c++ -- Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized -- Debug CXX flags : -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized -- Build type : Release -- -- BUILD_SHARED_LIBS : ON -- BUILD_python : ON -- BUILD_matlab : ON -- BUILD_docs : ON -- CPU_ONLY : OFF -- USE_OPENCV : ON -- USE_LEVELDB : ON -- USE_LMDB : ON -- ALLOW_LMDB_NOLOCK : OFF -- -- Dependencies: -- BLAS : Yes (Atlas) -- Boost : Yes (ver. 1.60) -- glog : Yes -- gflags : Yes -- protobuf : Yes (ver. 3.0.0) -- lmdb : Yes (ver. 0.9.70) -- LevelDB : Yes (ver. 1.18) -- Snappy : Yes (ver. 1.1.3) -- OpenCV : Yes (ver. 3.1.0) -- CUDA : Yes (ver. 7.5) -- -- NVIDIA CUDA: -- Target GPU(s) : Auto -- GPU arch(s) : sm_20 -- cuDNN : Yes (ver. 4.0.7) -- -- Python: -- Interpreter : /sw/python/2.7.1-shared/bin/python2.7 (ver. 2.7.1) -- Libraries : /sw/python/2.7.1-shared/lib/libpython2.7.so (ver 2.7.1) -- NumPy : /sw/python/2.7.1-shared/lib/python2.7/site-packages/numpy-1.12.0.dev0+1380fdd-py2.7-linux-x86_64.egg/numpy/core/include (ver 1.12.0.dev0+1380fdd) -- -- Matlab: -- Matlab : Yes (/sw/Matlab/R2015b/bin/mex, /sw/Matlab/R2015b/bin/mex -- Octave : Yes (/sw/octave/3.8.0/bin/mkoctfile) -- Build mex using : Matlab -- -- Documentaion: -- Doxygen : /usr/bin/doxygen (1.6.1) -- config_file : /sw/caffe/caffe-master/.Doxyfile -- -- Install: -- Install path : /sw/caffe/caffe -- -- LIBS3.1.0 -- Configuring done -- Generating done -- Build files have been written to: /sw/caffe/caffe-master/build [ 1%] Built target proto Scanning dependencies of target caffe [ 2%] Linking CXX shared library ../../lib/libcaffe.so [ 80%] Built target caffe [ 82%] Linking CXX executable device_query [ 82%] Built target device_query [ 82%] Linking CXX executable compute_image_mean [ 83%] Built target compute_image_mean [ 83%] Linking CXX executable extract_features [ 84%] Built target extract_features [ 86%] Linking CXX executable upgrade_net_proto_text [ 86%] Built target upgrade_net_proto_text [ 87%] Linking CXX executable finetune_net [ 87%] Built target finetune_net [ 89%] Linking CXX executable caffe [ 89%] Built target caffe.bin [ 90%] Linking CXX executable upgrade_solver_proto_text [ 90%] Built target upgrade_solver_proto_text [ 90%] Linking CXX executable test_net [ 90%] Built target test_net [ 90%] Linking CXX executable net_speed_benchmark [ 91%] Built target net_speed_benchmark [ 91%] Linking CXX executable upgrade_net_proto_binary [ 93%] Built target upgrade_net_proto_binary [ 94%] Linking CXX executable convert_imageset [ 94%] Built target convert_imageset [ 94%] Linking CXX executable train_net [ 95%] Built target train_net [ 95%] Linking CXX executable mnist/convert_mnist_data [ 95%] Built target convert_mnist_data [ 95%] Linking CXX executable siamese/convert_mnist_siamese_data [ 97%] Built target convert_mnist_siamese_data [ 97%] Linking CXX executable cpp_classification/classification [ 97%] Built target classification [ 98%] Linking CXX executable cifar10/convert_cifar_data [ 98%] Built target convert_cifar_data [100%] Linking CXX shared library ../lib/_caffe.so Creating symlink /sw/caffe/caffe-master/python/caffe/_caffe.so -> /sw/caffe/caffe-master/build/lib/_caffe.so [100%] Built target pycaffe [100%] Building Matlab interface: /sw/caffe/caffe-master/matlab/+caffe/private/caffe_.mex Building with 'g++'. MEX completed successfully. [100%] Built target matlab SUCCESS!!!!!! |
Reference
- https://github.com/BVLC/caffe
- http://caffe.berkeleyvision.org/
- https://github.com/casadi/casadi/blob/master/cmake/FindMATLAB.cmake
...