AutoGP icon indicating copy to clipboard operation
AutoGP copied to clipboard

Error (and fix) in project linkage with GPFlow

Open PhilippeMorere opened this issue 8 years ago • 0 comments

I got the following error when running the provided example.py file:

File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
    None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: /home/phil/lib/AutoGP/autogp/util/tf_ops/matpackops.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumES3_

I found the solution in GPFlow. It seems to be an issue with the compiler version they used and the one used in this project. Adding -D_GLIBCXX_USE_CXX11_ABI=0 to setup.py fixed the issue.

PhilippeMorere avatar Aug 14 '17 05:08 PhilippeMorere