Andreas' suggested fix (build pycuda yourself with CXX11_ABI option) worked fine for me.
Are you sure you are running the newly built pycuda? The logs show you using a virtual env etc, sure you installed newly built pycuda to that one etc? On 30 March 2017 at 15:15, jredwards <[email protected]> wrote: > Hi, > > I have been getting the same error message: > > Traceback (most recent call last): > File "test/test_driver.py", line 6, in <module> > from pycuda.tools import mark_cuda_test, dtype_to_ctype > File > "/home/jedwards/anaconda3/envs/py36/lib/python3.6/site- > packages/pycuda-2016.1.2-py3.6-linux-x86_64.egg/pycuda/tools.py", > line 34, in <module> > import pycuda.driver as cuda > File > "/home/jedwards/anaconda3/envs/py36/lib/python3.6/site- > packages/pycuda-2016.1.2-py3.6-linux-x86_64.egg/pycuda/driver.py", > line 5, in <module> > from pycuda._driver import * # noqa > ImportError: > /home/jedwards/anaconda3/envs/py36/lib/python3.6/site- > packages/pycuda-2016.1.2-py3.6-linux-x86_64.egg/pycuda/_dri > ver.cpython-36m-x86_64-linux-gnu.so: > undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_ > traitsIcESaIcEED1Ev > > I added -D_GLIBCXX_USE_CXX11_ABI=0 to the CXXFLAGS when remaking, but the > error continues to crop up. > > Any ideas? > > thanks > > James > > > > -- > View this message in context: http://pycuda.2962900.n2. > nabble.com/undefined-symbol-error-tp7575758p7575783.html > Sent from the PyCuda mailing list archive at Nabble.com. > > _______________________________________________ > PyCUDA mailing list > [email protected] > https://lists.tiker.net/listinfo/pycuda >
_______________________________________________ PyCUDA mailing list [email protected] https://lists.tiker.net/listinfo/pycuda
