Giter VIP home page Giter VIP logo

Comments (15)

lavelli avatar lavelli commented on May 4, 2024 1

@veggiedefender Thanks, using a more recent version of the C++ compiler solves part of the issues. Now it executes all the tests. However, 6 fail locally (see below). Having a look at the log files the common pattern is the error message "undefined symbol: clock_gettime".

INFO: Elapsed time: 744.500s, Critical Path: 729.55s
//syntaxnet:arc_standard_transitions_test PASSED in 0.0s
//syntaxnet:parser_features_test PASSED in 0.0s
//syntaxnet:sentence_features_test PASSED in 0.0s
//syntaxnet:shared_store_test PASSED in 0.0s
//syntaxnet:tagger_transitions_test PASSED in 0.0s
//util/utf8:unicodetext_unittest PASSED in 0.0s
//syntaxnet:beam_reader_ops_test FAILED in 0.1s
~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/beam_reader_ops_test/test.log
//syntaxnet:graph_builder_test FAILED in 0.1s
~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/graph_builder_test/test.log
//syntaxnet:lexicon_builder_test FAILED in 0.1s
~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/lexicon_builder_test/test.log
//syntaxnet:parser_trainer_test FAILED in 0.1s
~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/parser_trainer_test/test.log
//syntaxnet:reader_ops_test FAILED in 0.1s
~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/reader_ops_test/test.log
//syntaxnet:text_formats_test FAILED in 0.1s
~/.cache/bazel/_bazel_lavelli/2579437c6dfd1fd91ec5f476674f68d0/syntaxnet/bazel-out/local-opt/testlogs/syntaxnet/text_formats_test/test.log

Executed 12 out of 12 tests: 6 tests pass and 6 fail locally.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.

from models.

veggiedefender avatar veggiedefender commented on May 4, 2024

did you cd ..?

from models.

danielkimo avatar danielkimo commented on May 4, 2024

of course....

from models.

tondacrha avatar tondacrha commented on May 4, 2024

I managed to build the project on following virtual environment:

  • Ubuntu 16.04
  • gcc, g++ 4.8.5
  • Python 4.7.11
  • 8GB RAM (I saw failures with 2GB)

The failure I saw before using 8GB of memory:
C++ compilation of rule '@tf//tensorflow/core/kernels:cast_op' failed: gcc failed: error executing command /usr/bin/gcc ...
gcc: internal compiler error: Killed (program cc1plus)

from models.

yeze322 avatar yeze322 commented on May 4, 2024

silimar problem:

./configure (press n to use CPU mode)
bazel test syntaxnet/... util/utf8/...

After a long-time compilation, got 0 out of 12 skipped.

from models.

veggiedefender avatar veggiedefender commented on May 4, 2024

yeah allocating 8 gb of ram seems to work for me

from models.

DCRcoder avatar DCRcoder commented on May 4, 2024

i get the same problem

.gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions.
INFO: Elapsed time: 1679.148s, Critical Path: 1648.18s
//syntaxnet:arc_standard_transitions_test NO STATUS
//syntaxnet:beam_reader_ops_test NO STATUS
//syntaxnet:graph_builder_test NO STATUS
//syntaxnet:lexicon_builder_test NO STATUS
//syntaxnet:parser_features_test NO STATUS
//syntaxnet:parser_trainer_test NO STATUS
//syntaxnet:reader_ops_test NO STATUS
//syntaxnet:sentence_features_test NO STATUS
//syntaxnet:shared_store_test NO STATUS
//syntaxnet:tagger_transitions_test NO STATUS
//syntaxnet:text_formats_test NO STATUS
//util/utf8:unicodetext_unittest NO STATUS

Executed 0 out of 12 tests: 12 were skipped.

how can i solve it

from models.

calberti avatar calberti commented on May 4, 2024

Could "internal compiler error: Killed (program cc1plus)" still be a memory problem?
I've seen this error go away in one case by increasing swap space.

from models.

MinionAttack avatar MinionAttack commented on May 4, 2024

I have the same error, I get external/tf/tensorflow/core/platform/file_system.h:189:11: error: overriding 'virtual tensorflow::ReadOnlyMemoryRegion::~ReadOnlyMemoryRegion() noexcept (true)' cc1plus: warning: unrecognized command line option "-Wno-free-nonheap-object" [enabled by default]

And "Executed 0 out of 12 tests: 12 were skipped."

from models.

lavelli avatar lavelli commented on May 4, 2024

I'm experiencing a similar problem (Executed 0 out of 12 tests: 12 were skipped).
Having a look at the log file, my guess is that the issue is caused by the C++ compiler. Any suggestion on the recommended version of the C++ compiler? I'm using 4.6.4.

from models.

veggiedefender avatar veggiedefender commented on May 4, 2024

4.9.x

from models.

MinionAttack avatar MinionAttack commented on May 4, 2024

Hi, I have updated my gcc version to 6.1 and now I have the same problem that @lavelli. Searching on google I found that a fix it's updating glibc to version 2.17 or higher.

I have tried it, because I have the 2.15 but when I try to update it with "apt-get install libc6", I get the message that I have the lastest version but when I do 'ldd --version" I still have 2.15

How can I update it? Thanks

from models.

girving avatar girving commented on May 4, 2024

@calberti: Do you know what the issue is here?

from models.

MinionAttack avatar MinionAttack commented on May 4, 2024

I have solved the problem!! I updated ubuntu from 12.04 to 14.04. Opened a terminal and type "ldd --version". You must see something like that:

ldd (Ubuntu EGLIBC 2.19-0ubuntu6.9) 2.19

You need have a version > 2.15 and only it's possible in a ubuntu version > 12.04.

Regards!

from models.

slavpetrov avatar slavpetrov commented on May 4, 2024

Closing this issues since it seems resolved but feel free to reopen.

from models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.