tensorflow
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tensorflow [2016/05/27 17:30] – created 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 ~/.cshrc | + | Put these in your ~/.cshrc: \\ |
- | //setenv PATH / | + | //setenv PATH / |
- | setenv LIBRARY_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.1464370253.txt.gz · Last modified: by hj