python - PyCUDA demo example error on OSX 10.9.2 + CUDA 5.5 + EDP 2.7.3 -
i'm getting pycuda runtime error (very similar 1 @ https://stackoverflow.com/questions/20078191/opencv-2-4-7-mac-osx-10-9-python-2-7-6-cuda-5-5) below. error when executing example is
cordelia:examples xxx$ python demo.py traceback (most recent call last): file "demo.py", line 3, in <module> import pycuda.driver cuda file "/users/xxx/canopy/lib/python2.7/site-packages/pycuda-2013.1.1-py2.7-macosx-10.6-x86_64.egg/pycuda/driver.py", line 2, in <module> pycuda._driver import * importerror: dlopen(/users/xxx/canopy/lib/python2.7/site-packages/pycuda-2013.1.1-py2.7-macosx-10.6-x86_64.egg/pycuda/_driver.so, 2): library not loaded: @rpath/libcurand.dylib referenced from: /users/xxx/canopy/lib/python2.7/site-packages/pycuda-2013.1.1-py2.7-macosx-10.6-x86_64.egg/pycuda/_driver.so reason: incompatible library version: _driver.so requires version 1.1.0 or later, libcurand.dylib provides version 0.0.0
and shows again on command line, stopping show now:
enthought canopy python 2.7.3 | 64-bit | (default, aug 8 2013, 05:37:06) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "help", "copyright", "credits" or "license" more information.
import pycuda._driver
traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: dlopen(/users/xxx/canopy/lib/python2.7/site-packages/pycuda-2013.1.1-py2.7-macosx-10.6-x86_64.egg/pycuda/_driver.so, 2): library not loaded: @rpath/libcurand.dylib referenced from: /users/xxx/canopy/lib/python2.7/site-packages/pycuda-2013.1.1-py2.7-macosx-10.6-x86_64.egg/pycuda/_driver.so reason: incompatible library version: _driver.so requires version 1.1.0 or later, libcurand.dylib provides version 0.0.0
any ideas?
thanks!
in fact steps @ http://wiki.tiker.net/pycuda/installation/mac#step_3:_install_pycuda worked - phew!
Comments
Post a Comment