AutoGP
AutoGP copied to clipboard
Error (and fix) in project linkage with GPFlow
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.