Dear Andreas,

I came back to the problem of running the installation script as you
suggested but now solved it by properly pointing superuser environment
to nvcc which seamed to be a problem earlier.

Now, when I run python test_driver.py
I get:
kk@oktan:~/pycuda-old/test$ python test_driver.py 
============================================================ test
session starts
=============================================================
platform linux2 -- Python 2.6.5 -- pytest-2.2.3
collected 21 items 

test_driver.py ..FF.................

Other test are much worse. Is this normal if I have a very old device in
my laptop?

Thanks for help.
Cheers,
KK

 

On Wed, 2012-03-07 at 10:21 -0500, Andreas Kloeckner wrote:
> <#part sign=pgpmime>
> On Tue, 06 Mar 2012 22:10:29 +0100, Kaczmarski Krzysztof 
> <[email protected]> wrote:
> > Andreas,
> > 
> > Thanks for help.
> > 
> > Now I get:
> > kk@oktan:~/pycuda-old/test$ python test_driver.py 
> > Traceback (most recent call last):
> >   File "test_driver.py", line 4, in <module>
> >     from pycuda.tools import mark_cuda_test
> >   File "/usr/lib/python2.6/dist-packages/pycuda/tools.py", line 30, in
> > <module>
> >     import pycuda.driver as cuda
> >   File "/usr/lib/python2.6/dist-packages/pycuda/driver.py", line 2, in
> > <module>
> >     from pycuda._driver import *
> > ImportError: No module named _driver
> > 
> > I copied manually pyCuda to python folder in my system but it looks like
> > it does not help. 
> > 
> > I think python cannot find pycuda files. How can I fix it? 
> > People like me, knowing CUDA but having limited experience with CUDA
> > would certainly love a guide like "pyCuda for python newbies" :)
> > 
> > Where actually pyCuda should be placed in the system?
> 
> Did you 'python setup.py install' call actually succeed? If so, Python
> should find PyCUDA without help.
> 
> Andreas


_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to