I have tried (again) to install this on 10.6 and everything builds cleanly as 
far as I can tell, but when I try to run demo.py it dies when trying to load 
the cuda driver.

I have 

Is this some error on the mac with building a shared library? (Expected in: 
flat namespace) I have encountered something like that before but have no idea 
how to  remedy it. 


Traceback (most recent call last):
 File "examples/demo.py", line 3, in <module>
   import pycuda.driver as cuda
 File 
"/Library/Frameworks/EPD64.framework/Versions/6.2/lib/python2.6/site-packages/pycuda-0.94.1-py2.6-macosx-10.5-x86_64.egg/pycuda/driver.py",
 line 1, in <module>
   from pycuda._driver import *
ImportError: 
dlopen(/Library/Frameworks/EPD64.framework/Versions/6.2/lib/python2.6/site-packages/pycuda-0.94.1-py2.6-macosx-10.5-x86_64.egg/pycuda/_driver.so,
 2): Symbol not found: __ZN5boost6python17error_already_setD1Ev
 Referenced from: 
/Library/Frameworks/EPD64.framework/Versions/6.2/lib/python2.6/site-packages/pycuda-0.94.1-py2.6-macosx-10.5-x86_64.egg/pycuda/_driver.so
 Expected in: flat namespace
in 
/Library/Frameworks/EPD64.framework/Versions/6.2/lib/python2.6/site-packages/pycuda-0.94.1-py2.6-macosx-10.5-x86_64.egg/pycuda/_driver.so

Is there a way to install PyCUDA without Boost?  It seems to cause many build 
problems.
Also, it seems to build against the 10.5 SDK even though I have it set to 10.6 
in the siteconf.py.  Is this odd?

Thanks,

Mark Benedict

my siteconf.py:

BOOST_INC_DIR = ['/Users/MarkB/pool/include']
BOOST_LIB_DIR = ['/Users/MarkB/pool/lib']
BOOST_COMPILER = 'gcc42'
USE_SHIPPED_BOOST = False
BOOST_PYTHON_LIBNAME = ['boost_python']
BOOST_THREAD_LIBNAME = ['boost_thread']

CXXFLAGS = ['-arch', 'x86_64', '-m64', 
'-isysroot','/Developer/SDKs/MacOSX10.6.sdk']
LDFLAGS = ['-arch', 'x86_64', '-m64', 
'-isysroot','/Developer/SDKs/MacOSX10.6.sdk']
CUDA_ROOT = '/usr/local/cuda'
CUDA_ENABLE_GL = True
CUDADRV_LIB_DIR = []
CUDADRV_LIBNAME = ['cuda']
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to