[PyCUDA] Cannot import both pycuda and pyopencl in the same program

2010-09-09 Thread Bogdan Opanchuk
Hi all, I'm observing the following behavior with latest (git-fetched today) pycuda and opencl versions on Snow Leopard 10.6.4: $ python import pycuda.driver import pyopencl Traceback (most recent call last): File stdin, line 1, in module File

Re: [PyCUDA] Cannot import both pycuda and pyopencl in the same program

2010-09-09 Thread Andreas Kloeckner
On Thu, 9 Sep 2010 23:31:36 +1000, Bogdan Opanchuk manti...@gmail.com wrote: Hi all, I'm observing the following behavior with latest (git-fetched today) pycuda and opencl versions on Snow Leopard 10.6.4: $ python import pycuda.driver import pyopencl Traceback (most recent call last):

Re: [PyCUDA] Cannot import both pycuda and pyopencl in the same program

2010-09-09 Thread Bogdan Opanchuk
On Fri, Sep 10, 2010 at 12:18 AM, Andreas Kloeckner li...@informa.tiker.net wrote: Are you using the shipped version of Boost in both libraries? If so, that might present an issue. Yep, in both. Does it behave in the same way on your system? Best regards, Bogdan

Re: [PyCUDA] Cannot import both pycuda and pyopencl in the same program

2010-09-09 Thread Andreas Kloeckner
On Fri, 10 Sep 2010 00:38:38 +1000, Bogdan Opanchuk manti...@gmail.com wrote: On Fri, Sep 10, 2010 at 12:18 AM, Andreas Kloeckner li...@informa.tiker.net wrote: Are you using the shipped version of Boost in both libraries? If so, that might present an issue. Yep, in both. Does it behave

Re: [PyCUDA] Cannot import both pycuda and pyopencl in the same program

2010-09-09 Thread Bogdan Opanchuk
Hi Andreas, On Fri, Sep 10, 2010 at 1:09 AM, Andreas Kloeckner li...@informa.tiker.net wrote: Nope, it seems fine on my machine. I guess that means if you'd like to work with both PyCUDA and PyOpenCL at the same time, you have to build with external (non-shipped) Boost. You were right, I