-
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
Is CentOS 6.5 supported? #1426
Comments
You should build from the source code. |
@thinxer Thanks for you reply. |
I have no experience building TF on CentOS 6. I guess you need a compiler capable of C++11 features to begin with, such as GCC 4.8+. |
You'll need to provide more information if you want help. If the build failed, what was the error message, and which compiler are you using? You'll definitely need a C++11 capable compiler. |
@girving Below is the complete information
|
@thinxer I am using gcc 4.9.2. |
So you have compiled from source successfully but cannot load it from Python? It seems that your Python is compiled from a lower version of GCC which uses GLIBC_2.12, but the built tensorflow binary uses GLIBC 2.14. You may try LD_PRELOAD glibc 2.14, which should be found within your GCC 4.9 installation. |
See bazelbuild/bazel#760. Right now it requires customizing CROSSTOOL, but someone on the bazel team is trying to come up with a fix so that custom gcc envs are recognized and handled automatically. |
Also the LD_PRELOAD option isn't so great because it'll mess with other things. For example I use IPython, and using a different glibc leads to a memory leak with quick infinite consumption. |
I'm going to close this since it appears to be a bazel issue. Please reopen if you think there's a fix on the TensorFlow side. |
I've compiled from source python 3.5 glibc 2.14 and gcc 6.2. Installed the glibc and gcc in my home directory with ./configure --prefix=~/libs. For python I did an altinstall, so now I have python 2.6 for centos to use and python 3.5 at the same time with different binaries i.e. python and python3.5 commands. But when I run any tensorflow example or simple session to add 10+32 I get stuck at:
with 0% of GPU utilization and python3.5 using almost all GPU memory I'm using a GTX970 Anything you guys can do for me? |
I have succeeded in compiling a GPU, Python 3.5 version of TensorFlow 0.10.0 on a CentOS 6 Docker, and it ran well on our university's CentOS 6 cluster. Check https://github.com/leelabcnbc/DevOps/tree/master/Docker. Basically, it's replacing some hardcoded lines in CROSSTOOL-related items, and adding |
I was able to build tensorflow 0.12rc0 on CentOS6.5 without having root privileges, and it seem to work OK with glibc 2.12, without any |
@jimht011 |
…upstream-remove-batch-gemm Removing the ROCm only `batch_gemm` op.
I have try each method in installation guide to install GPU-tensorflow in my centos 6.5 server?
However, the error below is still exists.
ImportError: /lib64/libc.so.6: version GLIBC_2.14 not found (required by /usr/local/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)
Is there anyone who've successfully installed tensor flow in centos 6.5?
The text was updated successfully, but these errors were encountered: