I have installed *cuda_8.0.61_375.26_linux.run, 
cudnn-8.0-linux-x64-v5.0-ga.tgz *and* Theano 0.9.0. *I add the following in 
the .bashrc file





*:export CUDA_ROOT=/usr/local/cuda-8.0export 
LD_LIBRARY_PATH=/home/cvpr/cuda/lib64:$LD_LIBRARY_PATHexport 
CPATH=/home/cvpr/cuda/include:$CPATHexport 
LIBRARY_PATH=/home/cvpr/cuda/lib64:$LIBRARY_PATHexport 
PATH="/usr/local/cuda-8.0/bin:$PATH"* In this set up nvidia-smi is working 
correctly, nvcc -V shows "*nvcc: NVIDIA (R) Cuda compiler driver Copyright 
(c) 2005-2016 NVIDIA Corporation Built on Tue_Jan_10_13:22:03_CST_2017 Cuda 
compilation tools, release 8.0, V8.0.61*" and *sudo ldconfig* shows nothing.

The problem is that when I run the test program for GPU testing by using 
the command- *sudo THEANO_FLAGS=device=cuda,floatX=float32 python 
gputest.py, *it produces output as:
 












*"Can not use cuDNN on context None: cannot compile with cuDNN. We got this 
error:/tmp/try_flags_wSe5MO.c:4:19: fatal error: cudnn.h: No such file or 
directory #include <cudnn.h>                   ^compilation 
terminated.Mapped name None to device cuda: GeForce GTX 1070 
(0000:02:00.0)[GpuElemwise{exp,no_inplace}(<GpuArrayType<None>(float32, 
(False,))>), HostFromGpu(gpuarray)(GpuElemwise{exp,no_inplace}.0)]Looping 
1000 times took 0.307244 secondsResult is [ 1.23178029  1.61879349  
1.52278066 ...,  2.20771813  2.29967761  1.62323296]Used the gpu"*Can 
anyone please help me to solve this problem. I tried with 
cudnn-8.0-linux-x64-v5.1-ga.tgz also and face the same problem.

Thank in advance.

Anabik

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to