HPC:Tensorflow
From hpcwiki
Basic Anaconda Tensorflow GPU installation
By April 21st, 2018, Anaconda 3 (i.e. running Python 3.5 or above) has evolved enough to provide functional GPU-based instances of Tensorflow, running on iPython or Jupyter notebook.
In the worker nodes, it is recommended to use non interactive scripts; however, it is under study the provision of Jupyter-notebook and/or iPython in the worker nodes (not recommended). A better alternative to be addressed is the installation of Jupyter-hub in the frontend to control python slave processes in the worker nodes.
To test the GPU-based Tensorflow functionality on the worker nodes, the following procedure has been performed
- Create a test user:
# adduser test # passwd test # su test $ cd ~
- Download and install Anaconda3 v. 5.1.0
$ wget https://repo.anaconda.com/archive/Anaconda3-5.1.0-Linux-x86_64.sh $ bash Anaconda3-5.1.0-Linux-x86_64.sh $ cd anaconda3/bin $ ./conda install tensorflow-gpu