In the future - please be more specific with which programs are you
trying to run. Saying "a simple example like on
http://documen.tician.de/pycuda/";  is not helpful - there
are many examples on that page.

Your problems with missing nvcc are probably caused by installing
CUDA toolkit in /usr/local/cuda
This means that neither nvcc, nor libraries, nor header files,
are in directories that are searched by compiler.
You solved problem with nvcc by linking, but still your compiler
cannot find libraries.

Add this to your  ~/.bashrc
PATH=$PATH:/usr/local/cuda/bin

Add those lines to your /etc/ld.so.conf
/usr/local/cuda/lib64
/usr/local/cuda/lib
and then run ldconfig (as root).
If you have 32-bit system, add only second line.

To have all necessary header files, install package
nvidia-current-dev.
In Debian NVIDIA header files are in separate packages,
in Ubuntu all files necessary to compile OpenCL, OpenGL, CUDA,
are in one package.

Hope it helps.

-- 
Tomasz Rybak <bogom...@post.pl> GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to