tensorflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tensorflow [2016/05/27 17:33] – hj | tensorflow [2016/05/31 20:00] (current) – hj | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | How to configure your environment to run TensorFlow in our servers: | + | ==== How to configure your environment to run TensorFlow in our servers: |
+ | |||
- | Put these in your ~/ | + | Put these in your ~/ |
- | + | ||
- | //setenv PATH / | + | |
- | + | ||
- | setenv LIBRARY_PATH / | + | |
+ | //setenv PATH / | ||
+ | setenv LIBRARY_PATH / | ||
setenv LD_LIBRARY_PATH / | setenv LD_LIBRARY_PATH / | ||
- | # path to cuda | + | \\ \\ |
- | + | ||
- | setenv PATH / | + | |
- | + | ||
- | setenv LD_LIBRARY_PATH / | + | |
- | + | ||
- | # path to cuDNN | + | |
- | + | ||
- | setenv LD_LIBRARY_PATH / | + | |
- | + | ||
- | # path to mkl | + | |
- | + | ||
- | setenv LD_LIBRARY_PATH / | + | |
+ | # path to cuda \\ | ||
+ | setenv PATH / | ||
+ | setenv LD_LIBRARY_PATH / | ||
+ | \\ | ||
+ | # path to cuDNN \\ | ||
+ | setenv LD_LIBRARY_PATH / | ||
+ | \\ | ||
+ | # path to mkl \\ | ||
+ | setenv LD_LIBRARY_PATH / | ||
alias virtual-python " | alias virtual-python " | ||
- | + | \\ \\ | |
- | // | + | |
After you modify ~/.cshrc, source it or re-login your account. | After you modify ~/.cshrc, source it or re-login your account. | ||
When you want to use Tensorflow, type “virtual-python” in the shell, as shown in the screenshot. When you finish, type “deactivate”. | When you want to use Tensorflow, type “virtual-python” in the shell, as shown in the screenshot. When you finish, type “deactivate”. | ||
+ | \\ \\ | ||
+ | |||
+ | {{ : | ||
+ | \\ \\ | ||
+ | A set of {{: | ||
tensorflow.1464370411.txt.gz · Last modified: by hj