Tuesday, March 1, 2016

The flow to run theano program in ssh/remote server

1. connect to ssh
2. build/write .bashrc file under home directory (most often, if not maybe under [user]/[user]/)
    export PATH=$PATH:/usr/local/eecsapps/cuda/cuda-7.5.18/bin
    export LD_LIBRARY_PATH=/usr/local/eecsapps/cuda/cuda-7.5.18/lib64
3. configure .theanorc file to configure the theano parameters like:
   [global]
   floatX = float32
   device = gpu0 4. run python [name].py file.

No comments:

Post a Comment