marian-nmt / marian

Fast Neural Machine Translation in C++
https://marian-nmt.github.io
Other
1.25k stars 233 forks source link

amunmt_compilation_cpu #98 failed #109

Closed tomekd closed 6 years ago

tomekd commented 7 years ago

Build 'amunmt_compilation_cpu' is failing!

Last 50 lines of build output:

[...truncated 6.66 KB...]
/var/lib/jenkins/workspace/amunmt_compilation_cpu/src/amun/3rd_party/fast_align/src/ttables.cc:20:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (ie >= static_cast<int>(ttable.size())) ttable.resize(ie + 1);
            ^
[ 25%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/memory.cpp.o
[ 26%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/node.cpp.o
[ 28%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/exp.cpp.o
[ 29%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/exception.cpp.o
[ 30%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/emitter.cpp.o
[ 32%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/emit.cpp.o
[ 33%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/filter.cpp.o
[ 34%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/god.cpp.o
[ 35%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/null.cpp.o
[ 37%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/binary.cpp.o
[ 38%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/emitfromevents.cpp.o
[ 39%] Linking CXX executable ../../../../fast_align
[ 41%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/scantoken.cpp.o
[ 41%] Built target fast_align
[ 42%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/emitterstate.cpp.o
[ 43%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/history.cpp.o
[ 44%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/hypothesis.cpp.o
[ 46%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/scantag.cpp.o
[ 47%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/loader.cpp.o
[ 48%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/logging.cpp.o
[ 50%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/simplekey.cpp.o
[ 51%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/output_collector.cpp.o
[ 52%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/nodeevents.cpp.o
[ 53%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/tag.cpp.o
[ 55%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/contrib/graphbuilderadapter.cpp.o
[ 56%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/contrib/graphbuilder.cpp.o
[ 57%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/printer.cpp.o
[ 58%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/node_data.cpp.o
[ 60%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/emitterutils.cpp.o
[ 61%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/processor/bpe.cpp.o
[ 62%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/scorer.cpp.o
[ 64%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/parse.cpp.o
[ 65%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/search.cpp.o
[ 66%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/ostream_wrapper.cpp.o
[ 66%] Built target libyaml-cpp-amun
[ 67%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/sentence.cpp.o
[ 69%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/sentences.cpp.o
[ 70%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/types.cpp.o
[ 71%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/utils.cpp.o
[ 73%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/vocab.cpp.o
[ 74%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/translation_task.cpp.o
[ 74%] Built target libcommon
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts

Changes since last successful build:

View full output

hieuhoang commented 7 years ago

what's the compile flags for this configuration?

hieuhoang commented 7 years ago

nevermind, ive got it cmake .. -DCUDA=off

tomekd commented 7 years ago

Build was fixed!

tomekd commented 6 years ago

Build 'amunmt_compilation_cpu' is failing!

Last 50 lines of build output:

[...truncated 7.80 KB...]
[ 56%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/contrib/graphbuilder.cpp.o
[ 57%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/node_data.cpp.o
[ 58%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/emitterutils.cpp.o
Scanning dependencies of target extract_lex
[ 60%] Building CXX object src/amun/3rd_party/extract_lex/CMakeFiles/extract_lex.dir/extract-lex-main.cpp.o
[ 61%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/parse.cpp.o
[ 62%] Building CXX object src/amun/3rd_party/extract_lex/CMakeFiles/extract_lex.dir/utils.cpp.o
[ 64%] Building CXX object src/amun/3rd_party/yaml-cpp/CMakeFiles/libyaml-cpp-amun.dir/ostream_wrapper.cpp.o
[ 64%] Built target libyaml-cpp-amun
[ 65%] Building CXX object src/amun/3rd_party/extract_lex/CMakeFiles/extract_lex.dir/exception.cpp.o
[ 66%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/history.cpp.o
[ 67%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/dl4mt/gru.cpp.o
[ 69%] Linking CXX executable ../../../../extract_lex
[ 69%] Built target extract_lex
[ 70%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/hypothesis.cpp.o
[ 71%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/dl4mt/model.cpp.o
[ 73%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/loader.cpp.o
[ 74%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/logging.cpp.o
[ 75%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/output_collector.cpp.o
[ 76%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/dl4mt/encoder_decoder.cpp.o
[ 78%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/printer.cpp.o
[ 79%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/nematus/encoder.cpp.o
[ 80%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/processor/bpe.cpp.o
[ 82%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/nematus/model.cpp.o
[ 83%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/scorer.cpp.o
[ 84%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/search.cpp.o
[ 85%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/sentence.cpp.o
[ 87%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/nematus/gru.cpp.o
[ 88%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/nematus/transition.cpp.o
[ 89%] Building CXX object src/amun/CMakeFiles/cpumode.dir/cpu/nematus/encoder_decoder.cpp.o
[ 91%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/sentences.cpp.o
[ 92%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/types.cpp.o
[ 93%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/utils.cpp.o
[ 94%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/vocab.cpp.o
[ 96%] Building CXX object src/amun/CMakeFiles/libcommon.dir/common/translation_task.cpp.o
/var/lib/jenkins/workspace/amunmt_compilation_cpu/src/amun/common/translation_task.cpp:4:33: fatal error: thrust/system_error.h: No such file or directory
compilation terminated.
src/amun/CMakeFiles/libcommon.dir/build.make:542: recipe for target 'src/amun/CMakeFiles/libcommon.dir/common/translation_task.cpp.o' failed
make[2]: *** [src/amun/CMakeFiles/libcommon.dir/common/translation_task.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:182: recipe for target 'src/amun/CMakeFiles/libcommon.dir/all' failed
make[1]: *** [src/amun/CMakeFiles/libcommon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 96%] Built target cpumode
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts
GitHub Issue Notifier: Build has started failing again, reopend GitHub issue #109

Changes since last successful build:

View full output

tomekd commented 6 years ago

Build was fixed!

tomekd commented 6 years ago

Build 'amunmt_compilation_cpu' is failing!

Last 50 lines of build output:

[...truncated 1.83 KB...]
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Forcing compilation without CUDA.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   program_options
--   timer
--   iostreams
--   python
--   thread
--   chrono
--   regex
--   date_time
--   atomic
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.12", minimum required is "2.7") 
-- Found Python
-- Found ZLIB: /usr/local/lib/libz.so (found version "1.2.8") 
-- Found Git: /usr/bin/git (found version "2.7.4") 
-- Git version: c07f42a
-- Found SparseHash: /usr/include  
-- Configuring done
CMake Error at src/amun/CMakeLists.txt:11 (add_library):
  Cannot find source file:

    cpu/decoder/best_hyps.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

-- Generating done
-- Build files have been written to: /var/lib/jenkins/workspace/amunmt_compilation_cpu/build
Build step 'Execute shell' marked build as failure
Archiving artifacts
GitHub Issue Notifier: Build has started failing again, reopend GitHub issue #109

Changes since last successful build:

View full output

tomekd commented 6 years ago

Build was fixed!

tomekd commented 6 years ago

Build 'amunmt_compilation_cpu' is failing!

Last 50 lines of build output:

[...truncated 157 B...]
Cloning the remote Git repository
Cloning repository https://github.com/marian-nmt/marian
 > git init /var/lib/jenkins/workspace/amunmt_compilation_cpu # timeout=10
Fetching upstream changes from https://github.com/marian-nmt/marian
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/marian-nmt/marian +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/marian-nmt/marian # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/marian-nmt/marian # timeout=10
Fetching upstream changes from https://github.com/marian-nmt/marian
 > git fetch --tags --progress https://github.com/marian-nmt/marian +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 46b0232339ef13efc06b3458facb2cba831411cc (refs/remotes/origin/master)
Commit message: "Update README to reflect main repo"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 46b0232339ef13efc06b3458facb2cba831411cc
 > git rev-list bda9b18b6cede63b0476e9c144da3f62f03515b1 # timeout=10
[amunmt_compilation_cpu] $ /bin/sh -xe /tmp/jenkins5171408368335421806.sh
+ mkdir build
+ cd build
+ cmake -DCUDA=OFF ..
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Project name: marian
-- Project version: v1.6.0+46b0232
CMake Error at /usr/share/cmake-3.5/Modules/FindCUDA.cmake:617 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:40 (find_package)

-- Configuring incomplete, errors occurred!
See also "/var/lib/jenkins/workspace/amunmt_compilation_cpu/build/CMakeFiles/CMakeOutput.log".
Build step 'Execute shell' marked build as failure
Archiving artifacts
GitHub Issue Notifier: Build has started failing again, reopend GitHub issue #109

Changes since last successful build:

View full output