I am successfully building and installing PyCUDA on mac by using macports python26. However I am receiving the following architecture mismatch error on import of pycuda:
dionysus:test garrettwright$ python test_driver.py Traceback (most recent call last): File "test_driver.py", line 4, in <module> from pycuda.tools import mark_cuda_test File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pycuda-0.94rc-py2.6-macosx-10.6-x86_64.egg/pycuda/tools.py", line 30, in <module> import pycuda.driver as cuda File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pycuda-0.94rc-py2.6-macosx-10.6-x86_64.egg/pycuda/driver.py", line 1, in <module> from _driver import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pycuda-0.94rc-py2.6-macosx-10.6-x86_64.egg/pycuda/_driver.so, 2): no suitable image found. Did find: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pycuda-0.94rc-py2.6-macosx-10.6-x86_64.egg/pycuda/_driver.so: mach-o, but wrong architecture Is there a known workaround? It seems this is the only issue holding PyCUDA back from a reasonable install on the Mac. I have been following the other threads and am not terrible enthused with the methods or level of complication. If someone has a work around for the arch error, I can compile a Portfile for PyCUDA and we can all enjoy a simple one line Mac install :) garrett dot wright at temple dot edu
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda