sometimes the OS config must be updated.

You can trigger it with this command line:

ldconfig

rebooting also trigger the equivalent.

On Thu, Apr 6, 2017 at 11:15 AM Jeffrey Jeongwoo Park <[email protected]>
wrote:

> Hi! I was trying to migrate to a CentOs7 Server, but when I was installing
> theano I noticed that I was not able to use cudnn.
> When I try to import theano, the following messages are printed:
>
>
> ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
> Traceback (most recent call last):
>   File
> "/home/mmsjw/miniconda2/lib/python2.7/site-packages/theano/gpuarray/__init__.py",
> line 164, in <module>
>     use(config.device)
>   File
> "/home/mmsjw/miniconda2/lib/python2.7/site-packages/theano/gpuarray/__init__.py",
> line 151, in use
>     init_dev(device)
>   File
> "/home/mmsjw/miniconda2/lib/python2.7/site-packages/theano/gpuarray/__init__.py",
> line 68, in init_dev
>     context.cudnn_handle = dnn._make_handle(context)
>   File
> "/home/mmsjw/miniconda2/lib/python2.7/site-packages/theano/gpuarray/dnn.py",
> line 80, in _make_handle
>     cudnn = _dnn_lib()
>   File
> "/home/mmsjw/miniconda2/lib/python2.7/site-packages/theano/gpuarray/dnn.py",
> line 67, in _dnn_lib
>     raise RuntimeError('Could not find cudnn library (looked for v5[.1])')
> RuntimeError: Could not find cudnn library (looked for v5[.1])
>
>
> I have installed cudnn version 5.1 where I installed CUDA, which is in
> /usr/local/cuda.
> Here are some export settings that I think are relevant:
>
> CUDA_ROOT="/usr/local/cuda"
>
> LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64::/home/mmsjw/.local/lib:/home/mmsjw/miniconda2/lib"
> LIBRARY_PATH=":/home/mmsjw/.local/lib:/home/mmsjw/miniconda2/lib"
>
> PATH="/home/mmsjw/miniconda2/bin:/usr/local/cuda-8.0/bin:/usr/lib64/qt-3.3/bin:/home/mmsjw/perl5/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/mmsjw/.local/bin:/home/mmsjw/bin"
>
> Any help or hints would really be appreciated. Thank you!
>
> --
>
> ---
> 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.
>

-- 

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