title: Cuda nn path issues in installing Tensorflow gpu on ubuntu 16.04
body: <p>I am installing latest Tensorflow library in my ubuntu 16.04 machine.
  For this I downloaded and Installed Latest Cuda toolkits and Cuda nn libraries.</p>
  
  <p>After Installation I checked it out using following commands.</p>
  
  <pre><code>(/home/naseer/anaconda2/) naseer@naseer-Virtual-Machine:~/anaconda2$ python
  Python 2.7.13 |Anaconda 4.3.1 (64-bit)| (default, Dec 20 2016, 23:09:15) 
  [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  Anaconda is brought to you by Continuum Analytics.
  Please check out: http://continuum.io/thanks and https://anaconda.org
  &gt;&gt;&gt; import tensorflow as tf
  I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.so locally
  I tensorflow/stream_executor/dso_loader.cc:102] Couldn't open CUDA library libcudnn.so. LD_LIBRARY_PATH: /usr/local/cuda-8.0.61/lib64
  I tensorflow/stream_executor/cuda/cuda_dnn.cc:2259] Unable to load cuDNN DSO
  I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.so locally
  I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.so.1 locally
  I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.so locally
  </code></pre>
  
  <p>What does the above output mean? does it mean that Tensorflow will correctly run on my Nvidia GPU enabled system or do I need to do something else?</p>
  
  <p><strong>My local Directory Structure:</strong></p>
  
  <p>I have added following screen shot that shows various library path in my local directories.</p>
  
  <p><a href="https://i.stack.imgur.com/89QZt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/89QZt.png" alt="enter image description here"></a></p>
  
  <p><strong>My Understanding</strong></p>
  
  <p>I have feeling that it is trying to open CUDA library in the path /usr/local/cuda-8.0.61/lib64 when infact there are  paths of /usr/local/cuda-8.0/lib64 and /usr/local/cuda/lib64. Itried to rename that path but still could not work?</p>
  
  <p><strong>Updates (Conflicting Directory Structure)</strong></p>
  
  <p><a href="https://i.stack.imgur.com/EgdfL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EgdfL.png" alt="enter image description here"></a></p>