Hi All,

I am fighting several days now with pycuda installation. 
I program in CUDA for several years, now I want to give pycuda a try.

I did everything according to the instructions, however the 'make step'
keeps complaining about CUDA_ROOT and nvcc...

kk@oktan:/usr/lib/python2.6/pycuda$ sudo -E echo $CUDA_ROOT
/usr/local/cuda
kk@oktan:/usr/lib/python2.6/pycuda$ sudo -E echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cuda/bin
kk@oktan:/usr/lib/python2.6/pycuda$ nvcc
nvcc fatal   : No input files specified; use option --help for more
information
kk@oktan:/usr/lib/python2.6/pycuda$ sudo -E make -j 4
ctags -R src || true
/usr/bin/python setup.py build
*** CUDA_ROOT not set, and nvcc not in path. Giving up.
Traceback (most recent call last):
  File "setup.py", line 232, in <module>
    main()
  File "setup.py", line 77, in main
    conf = get_config(get_config_schema())
  File "setup.py", line 29, in get_config_schema
    sys.exit(1)
NameError: global name 'sys' is not defined
make: *** [all] Error 1
 
I googled but found no solution for this.

Thanks for any advices... yes I am a python newbie (but I program in it
a bit).

Cheers,
KK


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

Reply via email to