Hi, I'm using a MBP 2.66 GHz Intel Core 2 Duo, 4 GB RAM, with NVIDIA GeForce 9400M and GeForce 9600M GT. I installed Boost 1.39, Numpy 1.3.0-py2.5, Cuda 2.2 and PyCUDA 0.92. The Python version is 2.5.4.
This is my siteconf.py: >BOOST_INC_DIR = ['/usr/local/include/boost-1_39'] >BOOST_LIB_DIR = ['/usr/local/lib'] >BOOST_PYTHON_LIBNAME = ['/usr/local/lib/libboost_python-xgcc40-mt-1_39'] >CUDA_ROOT = '/usr/local/cuda' >CUDA_INC_DIR = ['/usr/local/cuda/include'] >CUDADRV_LIB_DIR = ['/usr/local/cuda/lib'] >CUDADRV_LIBNAME = ['cuda'] >CXXFLAGS = ['-arch','i386'] >LDFLAGS = ['-arch','i386'] When I get to PyCUDA installation this is what I get from the terminal: >$sudo make install >ctags -R src || true >ctags: illegal option -- R >usage: ctags [-BFadtuwvx] [-f tagsfile] file ... >/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python setup.py install >running install >running bdist_egg >running egg_info >writing requirements to pycuda.egg-info/requires.txt >writing pycuda.egg-info/PKG-INFO >writing top-level names to pycuda.egg-info/top_level.txt >writing dependency_links to pycuda.egg-info/dependency_links.txt >reading manifest file 'pycuda.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'pycuda.egg-info/SOURCES.txt' >installing library code to build/bdist.macosx-10.3-i386/egg >running install_lib >running build_py >running build_ext >creating build/bdist.macosx-10.3-i386/egg >creating build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/__init__.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/_driver.so -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/autoinit.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/cumath.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/curandom.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/driver.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/elementwise.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/gpuarray.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/rt.py -> build/bdist.macosx-10.3-i386/egg/pycuda >copying build/lib.macosx-10.3-i386-2.5/pycuda/tools.py -> build/bdist.macosx-10.3-i386/egg/pycuda >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/__init__.py to __init__.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/autoinit.py to autoinit.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/cumath.py to cumath.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/curandom.py to curandom.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/driver.py to driver.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/elementwise.py to elementwise.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/gpuarray.py to gpuarray.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/rt.py to rt.pyc >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/tools.py to tools.pyc >creating stub loader for pycuda/_driver.so >byte-compiling build/bdist.macosx-10.3-i386/egg/pycuda/_driver.py to _driver.pyc >creating build/bdist.macosx-10.3-i386/egg/EGG-INFO >copying pycuda.egg-info/PKG-INFO -> build/bdist.macosx-10.3-i386/egg/EGG-INFO >copying pycuda.egg-info/SOURCES.txt -> build/bdist.macosx-10.3-i386/egg/EGG-INFO >copying pycuda.egg-info/dependency_links.txt -> build/bdist.macosx-10.3-i386/egg/EGG-INFO >copying pycuda.egg-info/not-zip-safe -> build/bdist.macosx-10.3-i386/egg/EGG-INFO >copying pycuda.egg-info/requires.txt -> build/bdist.macosx-10.3-i386/egg/EGG-INFO >copying pycuda.egg-info/top_level.txt -> build/bdist.macosx-10.3-i386/egg/EGG-INFO >writing build/bdist.macosx-10.3-i386/egg/EGG-INFO/native_libs.txt >creating 'dist/pycuda-0.92-py2.5-macosx-10.3-i386.egg' and adding 'build/bdist.macosx-10.3-i386/egg' to it >removing 'build/bdist.macosx-10.3-i386/egg' (and everything under it) >Processing pycuda-0.92-py2.5-macosx-10.3-i386.egg >removing '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg' (and everything under it) >creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg >Extracting pycuda-0.92-py2.5-macosx-10.3-i386.egg to /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages >pycuda 0.92 is already the active version in easy-install.pth >Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg >Processing dependencies for pycuda==0.92 >Searching for pytools==9 >Best match: pytools 9 >Processing pytools-9-py2.5.egg >pytools 9 is already the active version in easy-install.pth >Installing logtool script to /Library/Frameworks/Python.framework/Versions/2.5/bin >Installing runalyzer script to /Library/Frameworks/Python.framework/Versions/2.5/bin >Installing runalyzer-gather script to /Library/Frameworks/Python.framework/Versions/2.5/bin >Using /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pytools-9-py2.5.egg >Finished processing dependencies for pycuda==0.92 When I try to run the test_driver from the PyCUDA 0.92 package I get this: >$python test_driver.py >Traceback (most recent call last): > File "test_driver.py", line 3, in <module> > import pycuda.autoinit > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg/pycuda/autoinit.py", line 1, in <module> > import pycuda.gpuarray as gpuarray > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg/pycuda/gpuarray.py", line 3, in <module> > import pycuda.elementwise as elementwise > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg/pycuda/elementwise.py", line 1, in <module> > import pycuda.driver as drv > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg/pycuda/driver.py", line 1, in <module> > from _driver import * > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg/pycuda/_driver.so, 2): Symbol not found: >__ZNK5boost6python7objects21py_function_impl_base9max_arityEv > Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pycuda-0.92-py2.5-macosx-10.3-i386.egg/pycuda/_driver.so > Expected in: dynamic lookup I'm still trying to understand the issue. I didn't notice any errors during the installation of Boost and Numpy. Any advices would be appreciated. Thanks, Massimo
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
