question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setup_all check gcc version

See original GitHub issue

Hi, Thanks for releasing the code. While running predict.py I was getting

tensorflow.python.framework.errors_impl.NotFoundError: ./coref_kernels.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs

I searched and found this link. It would be nice to either check the GCC version or keep this as a warning in the script to help anyone else stuck here!!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mariaBiocommented, Apr 15, 2021

Thank you very much for everyone who contributed to the code release.

I am running the software on the SLURM cluster and facing exactly that same issue: lib_handle = py_tf.TF_LoadLibrary(library_filename) tensorflow.python.framework.errors_impl.NotFoundError: ./coref_kernels.so: undefined symbol: _ZN10tensorflow12OpDefBuilderC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

The setup_all.sh has the following line:

Linux (pip)

g++ -std=c++11 -shared coref_kernels.cc -o coref_kernels.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -O2 (so the flag that was suggested to be removed is not there)

1reaction
jkkummerfeldcommented, Apr 5, 2020

That’s right.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Check the Version of my gcc? - Stack Overflow
gcc --version will tell you the version of the gcc executable in your path. rpm -q libstdc++-devel will tell you the version of...
Read more >
How to use `/opt/rocm/llvm/bin/clang` with non default GCC ...
A subtitle for this issue would be: "The default HIP clang compiler cannot find GCC compilers on HPC clusters in non-default paths".
Read more >
How to Check gcc Version on Linux Server ?
How to check gcc version ? What commands to check gcc version ? Answers : 1. You can find the version number of...
Read more >
Linux Find Out GNU gcc Compiler Version Used To ... - nixCraft
I need to build a nvidia device driver using the same version of GNU compiler as was used to compile the currently running...
Read more >
Getting Started — Spack 0.20.0.dev0 documentation
Install a version of GCC that implements the desired language features ( spack install gcc ). Tell the Intel compiler how to find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found