[PyCUDA] Installing PyCuda 0.93 on CentOs 5.3

2009-08-17 Thread Christian Quaia
Hi. I've been trying to install pycuda on my centos 5.3 box, but I haven't had much success. I managed to install boost (1.39) as per instructions, but when I build pycuda I get the following error: building '_driver' extension gcc -pthread -fno-strict-aliasing -pipe -Wall

Re: [PyCUDA] Installing PyCuda 0.93 on CentOs 5.3

2009-08-17 Thread Andreas Klöckner
On Montag 17 August 2009, Christian Quaia wrote: Hi. I've been trying to install pycuda on my centos 5.3 box, but I haven't had much success. I managed to install boost (1.39) as per instructions, but when I build pycuda I get the following error: building '_driver' extension gcc -pthread

Re: [PyCUDA] Installing PyCuda 0.93 on CentOs 5.3

2009-08-17 Thread Christian Quaia
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

Re: [PyCUDA] Installing PyCuda 0.93 on CentOs 5.3

2009-08-17 Thread Andreas Klöckner
That says that you're linking against the boost you built with gcc 4.3-- rebuild boost with 4.1, that you should get you a step further. Andreas On Dienstag 18 August 2009, Christian Quaia wrote: Thanks Andreas. Sorry, I should have tried that before... Now the build and install work.

Re: [PyCUDA] Installing PyCuda 0.93 on CentOs 5.3

2009-08-17 Thread Christian Quaia
That did it! All the tests run fine. In case anyone runs into the same problem, please keep in mind that to compile boost with gcc 4.1.2 you have to use the same flag that Andreas indicated earlier ('-DBOOST_PYTHON_NO_PY_SIGNATURES'). After running bootstrap.sh (see