Dear all,
I am trying to run a Cuda Program but cannot able to understand the issue occured below .
[root@cuda1 ~]# nvcc -o adarsh mygpu.cu
cc1plus: error: cuda_runtime.h: No such file or directory
mygpu.cu:3:18: error: cuda.h: No such file or directory
[root@cuda1 ~]# ls -ls
I tried to set path in .bashrc & nvcc.profile but don’t succeed how to make it available.
Variables value are as :
PATH=$PATH:/usr/local/cuda/bin:/root/jdk1.6.0_11/bin:/usr/local/cuda/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib:/root/jcuda:/root/jcuda/lib
export LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib:/home/hadoop/project/hadoop-0.20.2/jcuda_1.1_linux64
export PATH=$PATH:/home/hadoop/project/hadoop-0.20.2/bin
~
Please help me to solve this.
Thanks & best regards,
Adarsh Sharma