I have tried cuda 9 but tensorflow doesn\'t seem to work. Now, I installed cuda 8, set environment variables and other bunch of stuff and still this error persists. Help me
Find libcublas.so.9.0 in your system, probably under /usr/local/cuda-9.0/lib64
. Now add to your ~/.bashrc
file:
export LD_LIBRARY_PATH=/path/to/cuda/lib64
You should then move on from that error and see an error that it can't find libcudnn.so
. Make sure you've installed the CUDNN library and follow the same procedure for libcudnn.so
(the actual name of libcudnn is something like libcudnn.so.7 depending on your version).
The key here is setting LD_LIBRARY_PATH
correctly.
If you continue to have problems make sure you restart your terminal session and type echo $LD_LIBRARY_PATH
to validate that all setting changes have been applied correctly.