Changes

Jump to navigation Jump to search
Tensorflow was previously installed. In 2018 Summer, a new piece of graphics card was installed on DB Server. Wei and Minh hence-force installed and configured '''tensorflow-gpu 1.9.0 for Python3.6''' for all users of DB Server.
===Using Tensorflow===It is important to know that, on DB Server, Tensorflow-gpu 1.9.0 is installed for ''python3.6'', instead of either the default ''python3'' which is Python 3.5, or the default ''python'' which is Python 2.7 . In case that the system default ''python3'' might be changed, type in terminal to find out:
which python3
and
which python3.6
A quick test of whether tensorflow-gpu is working for ''python3.6'', type the following into a terminal:"
python3.6 -c "import tensorflow as tf; sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))"
So far it does not affect the functionality of tensorflow, but it will probably affect libcupti-dev library.
==Tensorflow (with GPU support) Installationin a virtual environment==We followed this instruction here: https://www.tensorflow.org/install/install_linux#InstallingVirtualenv to install tensorflow.===Install Tensorflow using the Virtual EnvironmentInstallation===
Install on DBServer under the user McNair. Password: askEd
*1.install virtualenv:
[[FILE:TensorflowGPU.png]]
==Installing Tensorflow with GPU support Installation as root for All users==
'''Important note: Currently on DB Server, pip/pip3 is working with Python3.6 rather than Python3. Hence the following installs a copy of tensorflow-gpu 1.9.0 for Python3.6 for all users'''
===Installation===
We followed instructions here: https://www.tensorflow.org/install/install_linux#InstallingNativePip
 
*0. Deleted previously installed tensorflow with CPU support:
sudo pip3 uninstall tensorflow

Navigation menu