setup_all check gcc version
See original GitHub issueHi,
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:
- Created 4 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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)
That’s right.