Andreas,

Thanks for the reply. Unfortunately your suggested workaround didn't work for me - I got the same error. So, I took a different approach. I decided to build a new Python (2.6, as I've been wanting to experiment with some of its features anyway; osx leopard system python is 2.5). Then I built pycuda OK. But now I get the following problem:

[EMAIL PROTECTED]:~/Documents/workspace/pycuda/examples$ python2.6
Python 2.6.1 (r261:67515, Dec  5 2008, 18:56:13)
[GCC 4.2.1 (Apple Inc. build 5566)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycuda
>>> import pycuda.cumath
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap

Just thought I'd ask the list if the solution is obvious, while I attempt to resolve it. One idea is that the boost libs I built were built using my system python rather than 2.6. I don't yet understand how boost is used for pycuda.

thanks, Randy


On Dec 5, 2008, at 2:29 PM, Andreas Klöckner wrote:

Hey Randy,

this here is the real problem:

On Freitag 05 Dezember 2008, Randy Heiland wrote:
cc1plus: error: unrecognized command line option "-Wno-long-double"

Somebody compiled your Python with -Wno-long-double, but your C++ compiler does not understand that (warning-related, anyway) option. Easiest workaround: Open up aksetup_helper.py, in hack_distutils(), add "-Wno-long- double" to the
list handed to remove_prefixes().

Good luck,
Andreas

PS: The ctags bit is irrelevant--that's just for my convenience when
developing. I should probably remove that, anyway.

PPS: Yes, it's telling that there's a routine called hack_distutils().
<signature.asc><ATT00001.txt>


_______________________________________________
PyCuda mailing list
PyCuda@tiker.net
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to