title: How do install tensor flow gpu?
body: <p>I am currently having some problems installing tensor flow with gpu support. </p>
  
  <p>This is the guide i've followed.</p>
  
  <ul>
  <li>Install NVIDIA CUDA (preinstalled)</li>
  <li>Install NVIDIA cuDNN (preinstalled)</li>
  <li><p>Install bazel</p>
  
  <pre><code>wget https://github.com/bazelbuild/bazel/releases/download/0.4.3/bazel-0.4.3-installer-linux-x86_64.sh      
  chmod +x bazel-0.4.3-installer-linux-x86_64.sh
  ./bazel-0.4.3-installer-linux-x86_64.sh --user
  </code></pre></li>
  <li><p>install tensor flow from source</p>
  
  <p>git clone <a href="https://github.com/tensorflow/tensorflow" rel="nofollow noreferrer">https://github.com/tensorflow/tensorflow</a></p>
  
  <p>cd tensorflow/</p>
  
  <p>./configure</p>
  
  <p>bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package</p></li>
  </ul>
  
  <p>the last one don't finish.. or it does.. it comes up with an error message       </p>
  
  <pre><code>a@fe1:~/tensorflow$ bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
  
  .
  WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
  
  Server finished RPC without an explicit exit code
  </code></pre>
  
  <p>after this should i be able to do this </p>
  
  <pre><code>bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tenso
  rflow_pkg
  </code></pre>
  
  <p>according to the guide, but is not possible. </p>
  
  <p>i've previously had tensor flow cpu version running, but since the need of gpu were sincerely pressing i decided to install it... but didn't think it would be this troublesome.. </p>
  
  <p>any idea on why it is not possible to build it?    </p>
  
  <p>os:centOS 7.1
  gpu:nvidea </p>