-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building from source in Ubuntu 16.04 LTS amd64 #2306
Comments
You should configure with |
I used |
@hholst80 You're right, I got the solution from #25 (comment). Note that the variable is actually |
I made some changes to build TensorFlow 0.8.0 on my workstation which is running Ubuntu 16.04 LTS amd64. The changes can be found here https://git.frostbite.com/hholst/ea-tensorflow |
@hholst80 How did you escape the configure:
when asked for Cause |
@adamcavendish apparently just use "/usr" instead of "/usr/local/cuda" for cuda path. |
@prafiles Sorry, I can't make it work. The |
@adamcavendish Installed Caffe, Theano and Tensorflow as per this. There is a lot of mixture of information available over the internet about this. However removing CUDA SDK from apt and switching to run won't be that hard i guess. (Your mileage may vary) Installing CUDA reference: Modifying NVCC flags: I'll try to help you more, however I am not at my CUDA workstation right now. |
@prafiles Thx a lot. There's not many choices for us. |
Sorry, I did not see that the corperate git repo was firewalled. I copy up the changes to github instead. |
https://github.com/hholst80/tensorflow is a snapshot of the customizations I made to build TensorFlow v0.8.0 on Ubuntu 16.04 LTS. |
@hholst80 First of all, thanks for sharing your solution. Secondly, I have tried it on Ubuntu 16.04 64 bit, and I manage to run "./configure" with no problem, but I get an error when attempting the next step on the tensorflow instructions. Specifically, when I run "bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer", I get the following: |
@albertotonda I have not maintained that version or looked at it since this. I can try and get some time to return to this later, but time and talent is as always a limiting factor. I think that any solution used for this should rely on the official Cuda repository provided by NVIDIA:
|
Dear Henrik, actually, I managed to solve the issue and/or it was addressed in one of Thanks anyway and best regards. On Mon, Nov 14, 2016 at 1:33 PM, Henrik Holst notifications@github.com
Alberto Tonda |
Looks like this has been resolved. Closing this issue. |
I have installed the
nvidia-cuda-toolkit
from Ubuntu Multiverse package and I wish to compile TensorFlow from source. I realize that I still need CuDNN to be installed the traditional way because its not (yet) packaged by Ubuntu.The
configure
scripts has some issues which hinders me to configure it for Compute Capability 3.0.Environment info
Operating System: Ubuntu 16.04 LTS (amd64)
TensorFlow version hash as reported by
git log -1 --oneline
:5681406 Add polygamma and zeta function to tensorflow (#1834)
Installed version of CUDA and cuDNN:
Steps to reproduce
git checkout https://github.com/tensorflow/tensorflow
git checkout 5681406
./configure
The text was updated successfully, but these errors were encountered: