I have quite a few problems setting up Theano to work with my graphics card. Hope you guys can help me.
I have used CUDA before and it is installed correctly, as was necessary to run Nvidia Nsight. However, now I want to use it with PyDev, and I have several problems following the "Using the GPU" part in the tutorial at http://deeplearning.net/software/theano/install.html#gpu-linux
The first is pretty simple, and here's how to set up environment variables. It says that I have to Define the $ CUDA_ROOT environment variable . Several sources said to create a new ".pam_environment" file in my home directory. I did this and wrote the following:
CUDA_ROOT = /usr/local/cuda-5.5/bin LD_LIBRARY_PATH = /usr/local/cuda-5.5/lib64/lib
I'm not sure that this is how it should be written - apologies if this is the main question. If I could get confirmation that this is really the right place to write this too, it would be helpful.
The second problem is the next part of the tutorial. He says " change the device parameter to name the GPU device on your computer ." This seems to have something to do with THEANO_FLAGS and .theanorc, but nowhere can I find out what it is: are they files? If so, where will I find them? It seems like the textbook assumes that I have no knowledge!
Thank you for taking the time to read this: all and all of the answers are greatly appreciated - I am very stuck right now!
eclipse theano gpu pydev
Boyentenbi
source share