CUDA toolkit is still in the installed location at /usr/local/cuda,
there is a symlink bundle from /usr/local/bin/ to /usr/local/cuda/bin/*
rather than adding .../cuda/bin to $PATH, but apart from that everything
is normal.

cheers
Dan

# nvcc -v --cubin -arch sm_13
-I/usr/local/lib/python2.6/dist-packages/pycuda-0.94.1-py2.6-linux-x86_64.egg/pycuda/../include/pycuda
 kernel.cu
#$ _SPACE_= 
#$ _CUDART_=cudart
#$ _HERE_=/usr/local/bin
#$ _THERE_=/usr/local/bin
#$ _TARGET_SIZE_=64
#$ TOP=/usr/local/bin/..
#$ LD_LIBRARY_PATH=/usr/local/bin/../lib:/usr/local/bin/../extools/lib:
#$
PATH=/usr/local/bin/../open64/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#$ INCLUDES="-I/usr/local/bin/../include"
"-I/usr/local/bin/../include/cudart"  
#$ LIBRARIES=  "-L/usr/local/bin/../lib64" -lcudart
#$ CUDAFE_FLAGS=
#$ OPENCC_FLAGS=
#$ PTXAS_FLAGS=
#$ gcc -E -x c++ "-I/usr/local/bin/../include"
"-I/usr/local/bin/../include/cudart"   -I. -D__CUDACC__ -C
-I"/usr/local/lib/python2.6/dist-packages/pycuda-0.94.1-py2.6-linux-x86_64.egg/pycuda/../include/pycuda"
 -include "cuda_runtime.h" -m64 -o 
"/tmp/tmpxft_00003816_00000000-4_kernel.cpp4.ii" "kernel.cu" 
cc1plus: error: cuda_runtime.h: No such file or directory
# --error 0x1 --


On Thu, 2010-11-25 at 16:40 -0500, Andreas Kloeckner wrote:
> On Fri, 26 Nov 2010 06:37:04 +1030, Dan Kortschak 
> <[email protected]> wrote:
> > # locate cuda_runtime.h
> > /usr/local/cuda/include/cuda_runtime.h
> > # which nvcc
> > /usr/local/bin/nvcc
> 
> Can you run that nvcc with -v and post the output? Did you move your
> CUDA toolkit after installation?
> 
> Andreas
> 



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

Reply via email to