[PyCUDA] Issue with running examples
glp at xplornet.com
Fri Sep 30 06:39:19 PDT 2011
I simply used the x64 Debian one for my system. My system is running
2.6.38-10-generic and is Ubuntu 10.04. I did manage to find .debs of the
CUDA toolkit and dev Nvidia driver.
A bit of background:
-didn't install libboost
-4.0.17 of the CUDA toolkit (https://launchpad.net/~amueller/+archive/ppa)
-270.41.19 of the dev nvidia driver.
I ignored these issues upon performing a dpkg --force-all:
dpkg: python-pycuda: dependency problems, but configuring anyway as you
python-pycuda depends on libboost-python1.46.1 (>= 1.46.1-1); however:
Package libboost-python1.46.1 is not installed.
python-pycuda depends on libboost-thread1.46.1 (>= 1.46.1-1); however:
Package libboost-thread1.46.1 is not installed.
python-pycuda depends on libcuda1 (>= 270); however:
Package libcuda1 is not installed.
python-pycuda depends on python (>= 2.6.6-7~); however:
Version of python on system is 2.6.5-0ubuntu1.
python-pycuda depends on python-pytools (>= 2011.3); however:
Package python-pytools is not installed.
Setting up python-pycuda (2011.1.3+git20110814-1) ...
/bin/sh: python2.5: not found
I had initially tried satisfying all these through various PPAs but then
I just decided to wing it since I couldn't get the right versioning. The
directory for pycuda installs into ~/pycuda-2011.1.2/ . The interesting
thing is, uninstalling the .deb does not remove the directory. So if
synaptic complains about broken files, just remove the .deb and it works
If you need anymore details, just let me know.
On 11-09-30 09:15 AM, Tomasz Rybak wrote:
> Dnia 2011-09-29, czw o godzinie 09:24 -0400, Gregory pisze:
>> Scratch that, I used the Debian .deb to install in a systematic matter.
>> All works now!
> As maintainer of Debian package (unless there is other
> PyCUDA *.deb, then I would like to know where have you found it)
> I would appreciate some feedback from Ubuntu user.
> Did you have any problems with installing it?
> What about dependencies? I know that Ubuntu uses different
> NVIDIA packaging, so there is no nvidia-cuda-toolkit package.
> Have you just installed this ignoring dependencies, or what?
> Best regards.
More information about the PyCUDA