Thanks Andreas.

Sorry, I should have tried that before... Now the build and install
work. However, when I run the tests I get another error:

Traceback (most recent call last):
  File "./test/test_driver.py", line 475, in ?
    import pycuda.autoinit
  File 
"/usr/lib64/python2.4/site-packages/pycuda-0.94beta-py2.4-linux-x86_64.egg/pycuda/autoinit.py",
line 1, in ?
    import pycuda.driver as cuda
  File 
"/usr/lib64/python2.4/site-packages/pycuda-0.94beta-py2.4-linux-x86_64.egg/pycuda/driver.py",
line 1, in ?
    from _driver import *
ImportError: /usr/lib64/libboost_python-gcc43-mt-1_39.so.1.39.0:
undefined symbol:
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l


Thanks again for your help,
Christian


On Mon, Aug 17, 2009 at 5:41 PM, Andreas
Klöckner<[email protected]> wrote:
> On Montag 17 August 2009, Christian Quaia wrote:
>> Thanks Andreas.
>>    I got the git version, and things went a bit better, but I still have
>> a problem.
>>
>> When I build pycuda now I get this error:
>>
>> /usr/include/boost-1_39/boost/type_traits/detail/cv_traits_impl.hpp:37:
>> internal compiler error: in make_rtl_for_nonlocal_decl, at
>> cp/decl.c:5067
>>
>>
>> This is due to a bug in gcc 4.1.2, which was fixed in later versions.
>> For this very reason I
>> had to compile boost using gcc43, which is also installed on my
>> machine in parallel to gcc.
>> Is there a simple way, like for boost, to force pycuda to be built
>> using gcc43 as a compiler?
>
> Not easily, as Python should be built with a matching compiler.
>
> But see this here for gcc 4.1 help:
> http://is.gd/2lCd7
>
> Andreas
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
>
>

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

Reply via email to