Hi list members, I asked Andreas a question about the following bug (unfortunately directly by mail) : > /usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/pycuda/_driver.so: undefined symbol: cuCtxPushCurrent
I installed just PyCuda, so I have never used it, and I get this message
when I want to import the driver. Cuda works. Andreas told me to do this :
ldd
/usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/pycuda/_driver.so
which gives the following result :
linux-gate.so.1 => (0xffffe000)
libboost_python-gcc42-mt-1_36.so.1.36.0 =>
/usr/local/lib/libboost_python-gcc42-mt-1_36.so.1.36.0 (0xb7e57000)
libcuda.so.1 => /usr/lib/libcuda.so.1 (0xb7ba8000)
libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7a87000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7998000)
libm.so.6 => /lib/libm.so.6 (0xb7973000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7967000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7950000)
libc.so.6 => /lib/libc.so.6 (0xb781d000)
libutil.so.1 => /lib/libutil.so.1 (0xb7819000)
libdl.so.2 => /lib/libdl.so.2 (0xb7815000)
librt.so.1 => /lib/librt.so.1 (0xb780b000)
libz.so.1 => /lib/libz.so.1 (0xb77f8000)
/lib/ld-linux.so.2 (0x80000000)
in my /usr/lib folder I have also a symlink libcuda.so...but I don't know
if you were talking about this. Anyway it was said that I might have
somewhere an older driver module of Cuda. Ok, but where, and how I tell
PyCuda to use the new one?
Thanks in advance.
Peter
-------- Original Message --------
Subject: Re: pycuda Frage
Date: Mon, 24 Nov 2008 10:49:04 -0500
From: Andreas Klöckner <[EMAIL PROTECTED]>
To: Peter Schmidtke <[EMAIL PROTECTED]>
Hi Peter,
a) schick' solche Fragen nächstes Mal besser an die Mailingliste.
b) Ich nehm' an, dass Du gegen CUDA 2.0 kompiliert hast, aber noch ein
altes
CUDA 1.1 Treibermodul (libcuda.so) rumliegen hast. Versuch mal
ldd /usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-
i686.egg/pycuda/_driver.so
Viel Erfolg,
Andreas
On Samstag 22 November 2008, you wrote:
> Hallo Andreas,
>
> ich bin sehr an Cuda interessiert, habe in C auch schon meine ersten
Tests
> gemacht und wollte nun PyCuda ausprobieren, was ja doch ein wenig
> unkomplizierter aussieht (danke für deine Arbeit ! ). Allerdings hab ich
> einige Probleme mit der Installation von PyCuda. Jetzt hat alles ohne
> Fehlermeldungen geklappt. Ich kann auch PyCuda importieren in python.
> Allerdings sobald ich das Treibermodul laden will bekomm ich folgenden
> Fehler :
>
> Traceback (most recent call last):
> File "test_driver.py", line 2, in <module>
> import pycuda.autoinit
> File
>
"/usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/py
>cuda/autoinit.py", line 1, in <module>
> import pycuda.gpuarray as gpuarray
> File
>
"/usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/py
>cuda/gpuarray.py", line 3, in <module>
> import pycuda._kernel as _kernel
> File
>
"/usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/py
>cuda/_kernel.py", line 1, in <module>
> import pycuda.driver as drv
> File
>
"/usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/py
>cuda/driver.py", line 1, in <module>
> from _driver import *
> ImportError:
>
/usr/local/lib/python2.5/site-packages/pycuda-0.91-py2.5-linux-i686.egg/pyc
>uda/_driver.so: undefined symbol: cuCtxPushCurrent
>
> sagt dir das etwas oder muss ich selbst weiter stöbern?
>
> Danke im Voraus
--
Andreas Kloeckner
Applied Mathematics, Brown University
http://www.dam.brown.edu/people/kloeckner
+1-401-648-0599
--
Peter Schmidtke
----------------------
PhD Student at the Molecular Modeling and Bioinformatics Group
Dep. Physical Chemistry
Faculty of Pharmacy
University of Barcelona
signature.asc
Description: PGP signature
95 FETCH (BODY[3] NIL
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
