On Fri, 02 Mar 2012 14:13:05 +0100, Kaczmarski Krzysztof <k.kaczmarski...@gmail.com> wrote: > On Thu, 2012-03-01 at 16:58 +0100, marmaduke wrote: > > > > On Thu, Mar 1, 2012, at 09:51, Andreas Kloeckner wrote: > > > Hi Krzysztof, > > > > > > On Mon, 27 Feb 2012 23:29:30 +0100, Kaczmarski Krzysztof > > > <k.kaczmarski...@gmail.com> wrote: > > > > > > > > I did everything according to the instructions, however the 'make step' > > > > keeps complaining about CUDA_ROOT and nvcc... > > > > > > > > > > Thanks for the report--I've fixed the traceback in git. But your real > > > error is still hidden in your output: > > > > > > *** CUDA_ROOT not set, and nvcc not in path. Giving up. > > > > > > > This can happen also if root doesn't have nvcc in root's PATH. Try sudo > > su'ing, exporting PATH with nvcc and building while root. > > > > Ok. Indeed root could not run nvcc although root's PATH > includes /usr/local/cuda/bin. > Anyway, I tried to install pycuda for a normal user: > > kk@oktan:~/pycuda$ make -j 4 > ctags -R src || true > /usr/bin/python setup.py build > running build > running build_py > running build_ext > > It seams to be ok. But then: > > kk@oktan:~/pycuda$ cd test/ > kk@oktan:~/pycuda/test$ ls > test_cumath.py test_driver.py test_gpuarray.py > kk@oktan:~/pycuda/test$ ./test_driver.py > from: can't read /var/mail/__future__ > > And hangs. > What is the problem?
That's your shell executing the Python script, and misunderstanding it. (hence the /var/mail stuff, I think.) Use "python test_driver.py". Andreas
pgpPK6CEjI2jT.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda