After taking care of all the 32/64-bit stuff, this is where I'm at currently:

I changed setup.py as follows:

    if 'darwin' in sys.platform:  
        # prevent from building ppc since cuda on OS X is not compiled for ppc
        if "-arch" not in conf["CXXFLAGS"]:
            conf["CXXFLAGS"].extend(['-arch', 'i386', '-m32'])
        if "-arch" not in conf["LDFLAGS"]:
            conf["LDFLAGS"].extend(['-arch', 'i386', '-m32'])

Removing all of the *.pyc, setuptools* and siteconf.py files in pycuda and 
reinstalling, now I get

In [1]: import pycuda.tools
--------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/daviddreisigmeyer/Installed Stuff/pycuda/≤ipython console> in <module>()

/Users/daviddreisigmeyer/Installed Stuff/pycuda/pycuda/tools.py in <module>()
     28 """
     29 
---> 30 import pycuda.driver as cuda
     31 from pytools import memoize, decorator
     32 import pycuda._driver as _drv

/Users/daviddreisigmeyer/Installed Stuff/pycuda/pycuda/driver.py in <module>()
      2 
      3 
      4 
      5 
      6 class CompileError(Error):

ImportError: No module named _driver



_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to