Closed yipengsun closed 5 years ago
This turns out to be that the cppyy
module (which is a replacement for PyCintex
) is not working properly in DaVinci-v42r8p1
. We got the following error message when trying to import it in ipython
:
In [1]: import cppyy
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-8c2da0b4de3e> in <module>()
----> 1 import cppyy
/opt/lhcb/lcg/releases/LCG_88/ROOT/6.08.06/x86_64-centos7-gcc62-opt/lib/cppyy.py in <module>()
58 sys.setdlopenflags( 0x100 | 0x2 ) # RTLD_GLOBAL | RTLD_NOW
59
---> 60 import libPyROOT as _backend
61
62 # reset dl flags if needed
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /opt/lhcb/lcg/releases/LCG_88/ROOT/6.08.06/x86_64-centos7-gcc62-opt/lib/libPyROOT.so)
This problem was not present in DaVinci-42r6p1
.
gcc
in the docker image is still 4.8.5. In gcc
4.9, a newer ABI was introduced. Seems that we need to update the gcc
to a later version.
lxplus
is still using SLC6, with an even older version of gcc
. Yet we can import cppyy
without problem. Now it seems that we need to investigate on EnvFix
.
I've asked upstream about this. Please refer to https://gitlab.cern.ch/lhcb-core/lbinstall/issues/2 (CERN credential needed).
The interactive script from the LHCb starter kit 1 cannot run with docker
lhcb-stack-cc7:DaVinci-v42r8p1
.With the following command:
It produces the following error message: