Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

2018.0-022 tensorflow on CentOS 6.9 - cannot import: glibc 2.14 required

rouberol
Beginner
1,128 Views

HI

anyone tried tensorflow on CentOS 6.9 with intelpython 2018 ?

Although Release Notes of 2018.0-022 version states that glibc 2.12 is OK, I cannot import tensorflow module because glibc 2.14 seems required:

loginhz02: ~ > cat /etc/redhat-release
CentOS release 6.9 (Final)
loginhz02: ~ > uname -a
Linux loginhz02.iap.fr 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 21:22:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
loginhz02: ~ > /softs/intel/python/2018_u0/intelpython2/bin/python
Python 2.7.13 |Intel Corporation| (default, Aug 15 2017, 16:14:15)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "/softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /softs/intel/python/2018_u0/intelpython2/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
>>>
loginhz02: ~ >

?

Regards,

sr

 

 

0 Kudos
4 Replies
Christophe_H_Intel2
1,128 Views

Hi rouberol,

Thanks for your question.

This issue has been addressed, and the Intel Tensorflow package will be compatible with glibc 2.12 in the next release of the Intel Distribution for Python.  Look for 2018 update 1 soon.

Chris

0 Kudos
rouberol
Beginner
1,128 Views

thanx Chris!

sr

0 Kudos
rouberol
Beginner
1,128 Views

Works indeed with 2018 update 1

thx!

0 Kudos
Alan_W_1
Beginner
1,128 Views

I would like to report that this problem returned with the tensorflow 1.9.0 that was distributed with 2018 update 3 and is also present in the 1.10.0 that's available in the intel channel.

I never installed 2018 update 2 so I can't comment on that release.

0 Kudos
Reply