*My system info:*
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 
16.04.2 
- Theano installed: via conda
- Theano version:'0.9.0.dev-c697eeab84e5b8a74908da654b66ec9eca4f1291'
- Python version: 2.7
- cuDNN version: 6.0.21
- CUDA compilation tools, release: 8.0, V8.0.61
- GPU model and memory: GeForce GTX Titan X
- Compiler: gcc version 5.4.0

*Problem:*
Fresh install of cuda, cudnn, and theano as per docs 
<http://deeplearning.net/software/theano/updating.html#updating>. I get the 
following error message when I try importing theano. I know there are a 
multitude of posts for this error message, but none have been of any help. 
Any guidance would be *greatly* appreciated!

*Error produced:*
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: 
libcublas.so.8.0: cannot open shared object file: No such file or directory
/home/adam/miniconda2/lib/python2.7/site-packages/theano/gpuarray/dnn.py:135: 
UserWarning: Your cuDNN version is more recent than Theano. If you 
encounter problems, try updating Theano or downgrading cuDNN to version 5.1.
  warnings.warn("Your cuDNN version is more recent than "
ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
Traceback (most recent call last):
  File 
"/home/adam/miniconda2/lib/python2.7/site-packages/theano/gpuarray/__init__.py",
 
line 164, in <module>
    use(config.device)
  File 
"/home/adam/miniconda2/lib/python2.7/site-packages/theano/gpuarray/__init__.py",
 
line 151, in use
    init_dev(device)
  File 
"/home/adam/miniconda2/lib/python2.7/site-packages/theano/gpuarray/__init__.py",
 
line 68, in init_dev
    context.cudnn_handle = dnn._make_handle(context)
  File 
"/home/adam/miniconda2/lib/python2.7/site-packages/theano/gpuarray/dnn.py", 
line 85, in _make_handle
    raise RuntimeError("error creating cudnn handle")
RuntimeError: error creating cudnn handle


 *Output of 'nvidia-smi':*
'+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90                 Driver Version: 384.90                  
  |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. 
ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute 
M. |
|===============================+======================+======================|
|   0  GeForce GTX TIT...  Off  | 00000000:01:00.0 Off |                  
N/A |
| 22%   40C    P8    14W / 250W |      2MiB / 12207MiB |      0%      
Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GT 610      Off  | 00000000:07:00.0 N/A |                  
N/A |
| 40%   35C    P8    N/A /  N/A |     48MiB /   963MiB |     N/A      
Default |
+-------------------------------+----------------------+----------------------+
                                                                            
   
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU 
Memory |
|  GPU       PID   Type   Process name                             Usage    
  |
|=============================================================================|
|    1                    Not Supported                                    
   |
+-----------------------------------------------------------------------------+'


*Relevant portion of .bashrc file:*
export CUDA_ROOT=/usr/local/cuda

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64"
# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64"

export PATH="/usr/local/cuda/bin:$PATH"
export PATH="/usr/local/cuda-8.0/bin:$PATH"

export CUDA_VISIBLE_DEVICES=0

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64

-- 

--- 
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