Comments (12)
The real problem is
cling::DynamicLibraryManager::loadLibrary(): dlopen: cannot load any more object with static TLS
which is a major pain.
from clicperformance.
What is the output of
ldd /nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hep/v01-05/lib/libDDG4Plugins.so.1.5
from clicperformance.
Attaching output of ldd /nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hep/v01-05/lib/libDDG4Plugins.so.1.5
:
lddoutput.txt
from clicperformance.
please run
python -c "import ROOT; print ROOT.gSystem.Load('libglapi')"
python -c "import ROOT; print ROOT.gSystem.Load('libDDG4Plugins')"
python -c "import ROOT; print ROOT.gSystem.Load('libglapi'); print ROOT.gSystem.Load('libDDG4Plugins')"
and (when loading the dd4hep python we load libglapi first, because that reserves a larger space for thread local storage (TLS)), maybe that doesn't work
Also the output of, because it might not pick up the correct library if there are two versions 32/64 bit
ls -l /usr/lib/x86_64-linux-gnu/libglapi*
locate libglapi
echo $LD_LIBRARY_PATH
from clicperformance.
python -c "import ROOT; print ROOT.gSystem.Load('libglapi')"
Error in <TUnixSystem::FindDynamicLibrary>: libglapi[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/geant4/10.03.p02/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/ilcutil/v01-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib64:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib64/mysql:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib/mysql:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hepExamples/v01-05/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/lcgeo/v00-15-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/FastJet/3.2.0/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CEDViewer/v01-15/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/LCFIVertex/v00-07-04/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/PandoraAnalysis/v02-00-00/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/PandoraPFANew/v03-06-00/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CED/v01-09-02/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/MarlinUtil/v01-14/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/GBL/V02-01-01/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/gsl/2.1/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/aidaTT/v00-08/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/KalTest/v02-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/xercesc/3.2.0/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/QT/4.8.5/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hep/v01-05/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/gear/v01-07/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CLHEP/2.3.4.3/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/root/6.08.06/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/lcio/v02-11/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CondDBMySQL/CondDBMySQL_ILC-0-9-6/lib:/nfs_SL/software/gcc/6.4.0/lib64:/nfs_SL/software/gcc/6.4.0/lib:/usr/lib:/nfs_SL/software/gcc/6.4.0/lib64:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/CLHEP/2.3.4.3/lib:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/xercesc/3.2.0/lib:.:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/root/6.08.06/lib:/usr/lib/tls/x86_64:/usr/lib/tls:/usr/lib/x86_64:/usr/lib
-1
I notice that python is not looking in /usr/lib/x86_64-linux-gnu/
from clicperformance.
python -c "import ROOT; print ROOT.gSystem.Load('libDDG4Plugins')"
cling::DynamicLibraryManager::loadLibrary(): dlopen: cannot load any more object with static TLS
-1
from clicperformance.
python -c "import ROOT; print ROOT.gSystem.Load('libglapi'); print ROOT.gSystem.Load('libDDG4Plugins')"
Error in <TUnixSystem::FindDynamicLibrary>: libglapi[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/geant4/10.03.p02/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/ilcutil/v01-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib64:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib64/mysql:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib/mysql:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hepExamples/v01-05/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/lcgeo/v00-15-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/FastJet/3.2.0/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CEDViewer/v01-15/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/LCFIVertex/v00-07-04/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/PandoraAnalysis/v02-00-00/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/PandoraPFANew/v03-06-00/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CED/v01-09-02/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/MarlinUtil/v01-14/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/GBL/V02-01-01/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/gsl/2.1/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/aidaTT/v00-08/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/KalTest/v02-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/xercesc/3.2.0/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/QT/4.8.5/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hep/v01-05/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/gear/v01-07/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CLHEP/2.3.4.3/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/root/6.08.06/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/lcio/v02-11/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CondDBMySQL/CondDBMySQL_ILC-0-9-6/lib:/nfs_SL/software/gcc/6.4.0/lib64:/nfs_SL/software/gcc/6.4.0/lib:/usr/lib:/nfs_SL/software/gcc/6.4.0/lib64:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/CLHEP/2.3.4.3/lib:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/xercesc/3.2.0/lib:.:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/root/6.08.06/lib:/usr/lib/tls/x86_64:/usr/lib/tls:/usr/lib/x86_64:/usr/lib
-1
cling::DynamicLibraryManager::loadLibrary(): dlopen: cannot load any more object with static TLS
-1
from clicperformance.
ls -l /usr/lib/x86_64-linux-gnu/libglapi*
lrwxrwxrwx 1 root root 17 јан 12 2016 /usr/lib/x86_64-linux-gnu/libglapi.so -> libglapi.so.0.0.0
lrwxrwxrwx 1 root root 17 јул 18 21:00 /usr/lib/x86_64-linux-gnu/libglapi.so.0 -> libglapi.so.0.0.0
-rw-r--r-- 1 root root 182528 јул 18 21:01 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
from clicperformance.
locate libglapi
/usr/lib/i386-linux-gnu/libglapi.so.0
/usr/lib/i386-linux-gnu/libglapi.so.0.0.0
/usr/lib/x86_64-linux-gnu/libglapi.so
/usr/lib/x86_64-linux-gnu/libglapi.so.0
/usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
/usr/share/bug/libglapi-mesa-lts-xenial
/usr/share/bug/libglapi-mesa-lts-xenial/control
/usr/share/bug/libglapi-mesa-lts-xenial/script
/usr/share/doc/libglapi-mesa-lts-xenial
/usr/share/doc/libglapi-mesa-lts-xenial/changelog.Debian.gz
/usr/share/doc/libglapi-mesa-lts-xenial/copyright
/usr/share/lintian/overrides/libglapi-mesa-lts-xenial
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:amd64.list
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:amd64.md5sums
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:amd64.postinst
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:amd64.postrm
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:amd64.shlibs
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:i386.list
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:i386.md5sums
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:i386.postinst
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:i386.postrm
/var/lib/dpkg/info/libglapi-mesa-lts-xenial:i386.shlibs
from clicperformance.
echo $LD_LIBRARY_PATH
/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/geant4/10.03.p02/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/ilcutil/v01-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib64:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib64/mysql:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/mysql/usr/lib/mysql:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hepExamples/v01-05/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/lcgeo/v00-15-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/FastJet/3.2.0/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CEDViewer/v01-15/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/LCFIVertex/v00-07-04/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/PandoraAnalysis/v02-00-00/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/PandoraPFANew/v03-06-00/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CED/v01-09-02/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/MarlinUtil/v01-14/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/GBL/V02-01-01/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/gsl/2.1/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/aidaTT/v00-08/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/KalTest/v02-03/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/xercesc/3.2.0/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/QT/4.8.5/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/DD4hep/v01-05/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/gear/v01-07/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CLHEP/2.3.4.3/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/root/6.08.06/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/lcio/v02-11/lib:/nfs_SL/ilcsoft/builds/x86_64_gcc64_ub1404/v01-19-05/CondDBMySQL/CondDBMySQL_ILC-0-9-6/lib:/nfs_SL/software/gcc/6.4.0/lib64:/nfs_SL/software/gcc/6.4.0/lib:/usr/lib:/nfs_SL/software/gcc/6.4.0/lib64::/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/CLHEP/2.3.4.3/lib:/nfs_SL/ilcsoft/x86_64_gcc64_ub1404/xercesc/3.2.0/lib
from clicperformance.
please add /usr/lib/x86_64-linux-gnu/
to the LD_LIBRARY_PATH and try
python -c "import ROOT; print ROOT.gSystem.Load('libglapi'); print ROOT.gSystem.Load('libDDG4Plugins')"
again, and if that works, try ddsim
from clicperformance.
Yes! I had to add /usr/lib/x86_64-linux-gnu/
to the end of the LD_LIBRARY_PATH so that libstdc++.so.6
is loaded from the GCC 6.4.0 location. Now the output of the python imports is
python -c "import ROOT; print ROOT.gSystem.Load('libglapi'); print ROOT.gSystem.Load('libDDG4Plugins')"
0
0
And ddsim works.
Thanks!
from clicperformance.
Related Issues (8)
- Filling trees in CLICEfficiencyCalculator
- Default LCIO Input File for `fcceeConfig/fccReconstruction.xml` does not exist anymore HOT 4
- Fix Key4hep and coverity CI workflows
- Crash in CLICEfficiencyCalculator
- Add all parameters for DDMarlinPandora, correct values
- Add vertexing to default reconstruction
- Flavour_tagging: vtxprob/ folder required to run the vtx_makentp.xml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clicperformance.