Re: [PyCuda] PyCUDA on mac os 10.5.6

2009-06-12 Thread Andreas Klöckner
Hi Massimo, I'm mostly clueless about Macs, but I did notice that you built PyCUDA for the 32-bit ABI. Maybe Boost got built against the 64-bit one? CXXFLAGS = ['-arch','i386'] LDFLAGS = ['-arch','i386'] (Btw, my suspicion is that these shouldn't be needed because PyCUDA (or rather

Re: [PyCuda] PyCUDA on mac os 10.5.6

2009-06-12 Thread Randy Heiland
I leave those blank and things work fine for me (OSX 10.5). -Randy On Jun 12, 2009, at 8:27 AM, Andreas Klöckner wrote: Hi Massimo, I'm mostly clueless about Macs, but I did notice that you built PyCUDA for the 32-bit ABI. Maybe Boost got built against the 64-bit one? CXXFLAGS =

Re: [PyCuda] PyCUDA on mac os 10.5.6

2009-06-12 Thread Massimo Ilario
Hi, I removed those 2 (left them blank). Re-installed but I still see the same issue. I noticed couple of interesting things. I get 2 different errors whether I run the test as sudo or not: $ python test_driver.py Traceback (most recent call last): File test_driver.py, line 3, in module

Re: [PyCuda] PyCUDA on mac os 10.5.6

2009-06-12 Thread Randy Heiland
For starters, what version is your default 'python' - just run 'python' to see - is it 2.5 or 2.6? Make sure you installed boost with that version of Python. I suspect the fact that you have 2 versions of Python on your system is causing problems (it certainly has for me in the past and

Re: [PyCuda] PyCUDA on mac os 10.5.6

2009-06-12 Thread Massimo Ilario
Hi, like I said in my previous post, I have 2 versions of Python but the current and default one is 2.5.4. yes, I did install boost with that version of Python. I might just remove Python 2.6.2 and check few other things to see if it fixes it. -massimo On Fri, Jun 12, 2009 at 8:00 AM, Randy