If you get an error message that is
Failed to compile cuda_ndarray.cu: libcublas.so.6.5: cannot open shared object file: No such file or directory
, follow this order.
So you need to locate and configure that path:
locate libcublas.so.6.5
Add the following library path to ~/.bashrc (Second path has libcublas.so.6.5)
sudo ldconfig /usr/local/cuda-6.5/lib64/
sudo ldconfig /usr/local/cuda-6.5/targets/x86_64-linux/lib/
export LD_LIBRARY_PATH=/usr/local/cuda-6.5/targets/x86_64-linux/lib:$ LD_LIBRARY_PATH
export PATH=/usr/local/cuda-6.5/bin:$ PATH
export PATH=/usr/local/cuda-6.5/targets/x86_64-linux/lib:$ PATH
=====================================================================================================================================
Reference
http://dk-techlogic.blogspot.kr/2015/03/setting-up-theano-on-ubuntu-1404.html
'언어 > ㄴTheano' 카테고리의 다른 글
[theano] why dose theano.function use 'givens' in theano? (0) | 2016.01.25 |
---|---|
[theano] what is dimshuffle and how to use? (0) | 2016.01.21 |
pycuda install problem (0) | 2016.01.11 |
Practical Theano Tutorial (서울대) (0) | 2016.01.05 |
What is Theano (0) | 2016.01.04 |