Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 

Introduction

Caffe is a deep learning framework made with expression, speed, and modularity in mind.

Ref: http://caffe.berkeleyvision.org/

Usage

module load caffe/caffe

 

Installation

Installation errors out...Not complete

module         load cmake/3.5.0
module         load octave/3.8.0
module         load boost/1.60.0
module         load opencv/3.1.0
module         load library/hdf5/1.8.7
#module         load cuda/7.5.18
module         load caffe/gflags/gflags
module         load caffe/glog/0.3.3
module         load caffe/leveldb/leveldb
module         load caffe/lmdb/lmdb
module         load caffe/protobuf/protobuf
module         load caffe/snappy/snappy
module         load python/2.7.1-shared
module         load library/atlas/3.10.2
module         load matlab/2015b

cd /sw/caffe
unzip caffe-master.zip
cd /sw/caffe/caffe-master
mkdir build
cd /sw/caffe/caffe-master/build
cmake -D CMAKE_INSTALL_PREFIX=/sw/caffe/caffe-master -DBUILD_SHARED_LIBS=ON -DAtlas_LAPACK_LIBRARY=/sw/library/atlas/3.10.2/lib/liblapack.so -DBUILD_matlab=ON -DMATLAB_DIR=/sw/Matlab/R2015b -DMatlab_mexext=/sw/Matlab/R2015b/toolbox/matlab/general -DMatlab_mex=/sw/Matlab/R2015b/toolbox/matlab/general -DOpenCV_DIR=/sw/opencv/opencv-3.1.0 -DOctave_DIR=/sw/octave/3.8.0  -DCUDNN_INCLUDE="/sw/cuda/cuda_7.5.18/include" -DCUDNN_LIBRARY="/sw/cuda/cuda_7.5.18/lib64/libcudnn.so" -DPROTOBUF_LIBRARY=/sw/caffe/protobuf/lib/libprotobuf.so  .. 2>&1 | tee cmakelog.txt

>>>>>>>>>
cmake -D CMAKE_INSTALL_PREFIX=/sw/caffe/caffe-master -DBUILD_SHARED_LIBS=ON -DAtlas_LAPACK_LIBRARY=/sw/library/atlas/3.10.2/lib/liblapack.so -DBUILD_matlab=ON -DMATLAB_DIR=/sw/Matlab/R2015b -DMatlab_mexext=/sw/Matlab/R2015b/toolbox/matlab/general -DMatlab_mex=/sw/Matlab/R2015b/toolbox/matlab/general -DOpenCV_DIR=/sw/opencv/opencv-3.1.0 -DOctave_DIR=/sw/octave/3.8.0  -DCUDNN_INCLUDE="/sw/cuda/cuda_7.5.18/include" -DCUDNN_LIBRARY="/sw/cuda/cuda_7.5.18/lib64/libcudnn.so" -DPROTOBUF_LIBRARY=/sw/caffe/protobuf/lib/libprotobuf.so  .. 2>&1 | tee cmakelog.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
-- OpenCV found (/sw/opencv/opencv-3.1.0/cmake)
-- Found Atlas: /sw/library/atlas/3.10.2/include
-- 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.
-- 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/toolbox/matlab/general, /sw/Matlab/R2015b/toolbox/matlab/general
--   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-master
--
-- Configuring done
-- Generating done
-- Build files have been written to: /sw/caffe/caffe-master/build

>>>>>>>>> 
make
[  1%] Built target proto
[  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
[  6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_lcn_layer.cu.o
[  6%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_lrn_layer.cu.o
[  8%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_pooling_layer.cu.o
[  8%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_relu_layer.cu.o
[  9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_sigmoid_layer.cu.o
[  9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_softmax_layer.cu.o
[  9%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_cudnn_tanh_layer.cu.o
[ 10%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_deconv_layer.cu.o
[ 10%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_dropout_layer.cu.o
[ 10%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_eltwise_layer.cu.o
[ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_elu_layer.cu.o
[ 12%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_embed_layer.cu.o
[ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_euclidean_loss_layer.cu.o
[ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_exp_layer.cu.o
[ 13%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_filter_layer.cu.o
[ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_hdf5_data_layer.cu.o
[ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_hdf5_output_layer.cu.o
[ 15%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_im2col_layer.cu.o
[ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_inner_product_layer.cu.o
[ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_log_layer.cu.o
[ 17%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_lrn_layer.cu.o
[ 17%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_mvn_layer.cu.o
[ 17%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_pooling_layer.cu.o
[ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_power_layer.cu.o
[ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_prelu_layer.cu.o
[ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_reduction_layer.cu.o
[ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_relu_layer.cu.o
[ 20%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_scale_layer.cu.o
[ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_sigmoid_cross_entropy_loss_layer.cu.o
[ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_sigmoid_layer.cu.o
[ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_silence_layer.cu.o
[ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_slice_layer.cu.o
[ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_softmax_layer.cu.o
[ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_softmax_loss_layer.cu.o
[ 24%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_split_layer.cu.o
[ 24%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_tanh_layer.cu.o
[ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_threshold_layer.cu.o
[ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_tile_layer.cu.o
[ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/cuda_compile_generated_adadelta_solver.cu.o
[ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/cuda_compile_generated_adagrad_solver.cu.o
[ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/cuda_compile_generated_adam_solver.cu.o
[ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/cuda_compile_generated_nesterov_solver.cu.o
[ 28%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/cuda_compile_generated_rmsprop_solver.cu.o
[ 28%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/cuda_compile_generated_sgd_solver.cu.o
>>>>
[ 79%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o
[ 80%] Linking CXX shared library ../../lib/libcaffe.so
[ 80%] Built target caffe
Scanning dependencies of target convert_imageset
[ 80%] Building CXX object tools/CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o
[ 82%] Linking CXX executable convert_imageset
CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o: In function `main':
convert_imageset.cpp:(.text+0xf3d): undefined reference to `google::protobuf::MessageLite::SerializeToString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnActivationForward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::Refresh()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::empty_string_once_init_'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteUInt32(int, unsigned int, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::WriteLittleEndian64(unsigned long long)'
/sw/library/atlas/3.10.2/lib/libatlas.so: undefined reference to `_gfortran_stop_numeric'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::fastFree(void*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnCreateFilterDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::WriteVarint64ToArray(unsigned long long, unsigned char*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteInt32(int, int, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDestroyFilterDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadVarint64Fallback()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::GoogleOnceInitImpl(long*, google::protobuf::Closure*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDestroy'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadTagFallback(unsigned int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSetPooling2dDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDivisiveNormalizationBackward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::empty_string_'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnAddTensor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSetConvolution2dDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::UnknownFieldSet::UnknownFieldSet()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::~Message()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(google::protobuf::Descriptor const*, google::protobuf::Message const*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)'
/sw/library/atlas/3.10.2/lib/libatlas.so: undefined reference to `_gfortran_transfer_character'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::flip(cv::_InputArray const&, cv::_OutputArray const&, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::WriteVarint64(unsigned long long)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, google::protobuf::internal::ArenaStringPtr)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::LogMessage::operator<<(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteFloat(int, float, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::MessageLite::ParseFromCodedStream(google::protobuf::io::CodedInputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::InitEmptyString()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::DiscardUnknownFields()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadLengthAndPushLimit()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::BytesUntilLimit() const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnConvolutionBackwardFilter_v3'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnCreateTensorDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit() const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::CheckEntireMessageConsumedAndPopLimit(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::WriteLittleEndian32(unsigned int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback(unsigned int*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::VarintSize64(unsigned long long)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBool(int, bool, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSetLRNDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSoftmaxForward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::TextFormat::Print(google::protobuf::Message const&, google::protobuf::io::ZeroCopyOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDestroyTensorDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `vtable for google::protobuf::internal::FunctionClosure0'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteInt64(int, long long, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::DescriptorPool::FindFileByName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteString(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Arena::AddListNode(void*, void (*)(void*))'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::String::deallocate()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::InitializationErrorString() const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnLRNCrossChannelForward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<int, std::allocator<int> > const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::imdecode(cv::_InputArray const&, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::DescriptorPool::InternalAddGeneratedFile(void const*, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::ReflectionOps::Merge(google::protobuf::Message const&, google::protobuf::Message*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDivisiveNormalizationForward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDestroyPoolingDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::String::allocate(unsigned long)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSetTensor4dDescriptorEx'
/sw/library/atlas/3.10.2/lib/libatlas.so: undefined reference to `_gfortran_compare_string'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnConvolutionBackwardData_v3'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSetFilter4dDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnGetConvolutionBackwardDataAlgorithm'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::DescriptorPool::generated_pool()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::TextFormat::Parse(google::protobuf::io::ZeroCopyInputStream*, google::protobuf::Message*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `typeinfo for google::protobuf::Message'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::FileOutputStream::FileOutputStream(int, int)'
/sw/library/atlas/3.10.2/lib/libatlas.so: undefined reference to `_gfortran_st_write_done'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::VerifyVersion(int, int, char const*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnConvolutionBackwardBias'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnCreate'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::UnknownFieldSet::~UnknownFieldSet()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnCreateConvolutionDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::imread(cv::String const&, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnGetConvolutionBackwardFilterAlgorithm'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::PushLimit(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::UnknownFieldSet::MergeFrom(google::protobuf::UnknownFieldSet const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSetStream'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnGetConvolutionBackwardDataWorkspaceSize'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&))'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnPoolingBackward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::Skip(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnGetConvolutionForwardAlgorithm'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadRaw(void*, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::UnknownFieldSet::ClearFallback()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::~CodedInputStream()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::IncrementRecursionDepthAndPushLimit(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnGetConvolutionForwardWorkspaceSize'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnLRNCrossChannelBackward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::io::CodedOutputStream*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Arena::AllocateAligned(std::type_info const*, unsigned long)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnGetConvolutionBackwardFilterWorkspaceSize'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(google::protobuf::UnknownFieldSet const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnConvolutionForward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnSoftmaxBackward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(google::protobuf::Descriptor const*, google::protobuf::Message const*, int const*, int, int, int, int, int, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::UnknownFieldSet::AddVarint(int, unsigned long long)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::FileInputStream::FileInputStream(int, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::PopLimit(int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)'
/sw/library/atlas/3.10.2/lib/libatlas.so: undefined reference to `_gfortran_transfer_integer'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::DebugString() const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnCreateLRNDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::LogMessage::operator<<(char const*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormat::SkipField(google::protobuf::io::CodedInputStream*, unsigned int, google::protobuf::UnknownFieldSet*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnCreatePoolingDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::VarintSize32Fallback(unsigned int)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned char*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::LogMessage::~LogMessage()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit(int)'
/sw/library/atlas/3.10.2/lib/libatlas.so: undefined reference to `_gfortran_st_write'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::GetTypeName() const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::Mat::copySize(cv::Mat const&)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnDestroyConvolutionDescriptor'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnActivationBackward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::default_recursion_limit_'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::OnShutdown(void (*)())'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cudnnPoolingForward'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(google::protobuf::io::CodedInputStream*, unsigned int, bool (*)(int), google::protobuf::UnknownFieldSet*, google::protobuf::RepeatedField<int>*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `cv::Mat::deallocate()'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback(unsigned long long*)'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::SpaceUsed() const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `google::protobuf::Message::SerializeToOstream(std::basic_ostream<char, std::char_traits<char> >*) const'
collect2: ld returned 1 exit status
make[2]: *** [tools/convert_imageset] Error 1
make[1]: *** [tools/CMakeFiles/convert_imageset.dir/all] Error 2

 

 

Reference

  1. https://github.com/BVLC/caffe
  2. http://caffe.berkeleyvision.org/

 

  • No labels