pycuda
Verfasst: Montag 18. April 2011, 18:24
Hi there , first time writing here in this forum. Und ich habe bemerkt das dies ein deutsches Forum ist, dennoch schreibe ich diesen Post in englischer Sprache.
I just installed cudatoolkit_4.0.13_linux_64_ubuntu10.10.run and NVIDIA_CUDA_SDK_2.02.0807.1535_linux.run on my linux machine Linux-x86_64 with the nvidia driver version 260.19.06 installed.
I compiled and installed pycuda-0.94.2 successfully (there where no errors) my graphic card is a NVIDIA Quadro 4000.
now trying to import something from pycuda like:
I get:
Traceback (most recent call last):
File "/home/jeckstein/Dokumente/pycuda/autoinit.py", line 1, in <module>
import pycuda.driver as cuda
File "/usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/driver.py", line 1, in <module>
from pycuda._driver import *
ImportError: /usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/_driver.so: undefined symbol: cuCtxPushCurrent_v2
SOLVED: wrong cudatoolkit version
I just installed cudatoolkit_4.0.13_linux_64_ubuntu10.10.run and NVIDIA_CUDA_SDK_2.02.0807.1535_linux.run on my linux machine Linux-x86_64 with the nvidia driver version 260.19.06 installed.
I compiled and installed pycuda-0.94.2 successfully (there where no errors) my graphic card is a NVIDIA Quadro 4000.
now trying to import something from pycuda like:
Code: Alles auswählen
import pycuda.driver as cuda
import pycuda.autoinit
Traceback (most recent call last):
File "/home/jeckstein/Dokumente/pycuda/autoinit.py", line 1, in <module>
import pycuda.driver as cuda
File "/usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/driver.py", line 1, in <module>
from pycuda._driver import *
ImportError: /usr/local/lib/python2.6/dist-packages/pycuda-0.94.2-py2.6-linux-x86_64.egg/pycuda/_driver.so: undefined symbol: cuCtxPushCurrent_v2
SOLVED: wrong cudatoolkit version