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
Make CkfPattern MT ready #4754
Make CkfPattern MT ready #4754
Conversation
A new Pull Request was created by @VinInn (Vincenzo Innocente) for CMSSW_7_2_X. Make CkfPattern MT ready It involves the following packages: RecoTracker/CkfPattern @nclopezo, @cmsbuild, @Degano, @StoyanStoynev, @slava77 can you please review it and eventually sign? Thanks. |
@Dr15Jones
|
-1 runTheMatrix-results/4.53_RunPhoton2012B+RunPhoton2012B+HLTD+RECODreHLT+HARVESTDreHLT/step2_RunPhoton2012B+RunPhoton2012B+HLTD+RECODreHLT+HARVESTDreHLT.log ----- Begin Fatal Exception 23-Jul-2014 14:05:31 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 4.22 step2 runTheMatrix-results/4.22_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC/step2_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC.log ----- Begin Fatal Exception 23-Jul-2014 14:05:38 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 401.0 step1 runTheMatrix-results/401.0_TTbarNewMix+TTbarFSPU2+HARVESTFS/step1_TTbarNewMix+TTbarFSPU2+HARVESTFS.log ----- Begin Fatal Exception 23-Jul-2014 14:06:17 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoEgammaEgammaElectronProducersPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 1000.0 step2 runTheMatrix-results/1000.0_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT/step2_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT.log ----- Begin Fatal Exception 23-Jul-2014 14:07:10 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 1001.0 step2 runTheMatrix-results/1001.0_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVD/step2_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVD.log ----- Begin Fatal Exception 23-Jul-2014 14:08:13 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 1003.0 step2 runTheMatrix-results/1003.0_RunMinBias2012A+RunMinBias2012A+RECODDQM+HARVESTDDQM/step2_RunMinBias2012A+RunMinBias2012A+RECODDQM+HARVESTDDQM.log ----- Begin Fatal Exception 23-Jul-2014 14:08:18 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 50101.0 step2 runTheMatrix-results/50101.0_SingleMuPt10+SingleMuPt10FSIdINPUT+SingleMuPt10FS_ID/step2_SingleMuPt10+SingleMuPt10FSIdINPUT+SingleMuPt10FS_ID.log ----- Begin Fatal Exception 23-Jul-2014 14:09:02 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoEgammaEgammaElectronProducersPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 25202.0 step2 runTheMatrix-results/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVEST+MINIAODMC/step2_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVEST+MINIAODMC.log ----- Begin Fatal Exception 23-Jul-2014 14:17:11 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- you can see the results of the tests here: |
@Dr15Jones |
We were hoping to avoid it given we have no way of controlling the use of TLS in externals. The plan was to get the 'dynamic' increase in TLS space working in the system libraries. However, that only works for shared libraries and not static libraries. |
is here the problem that "work_" is file-local and hidden? |
I doubt the problem originates from file local vs global. |
Doing a google search on the phrase from the error message gave this response which looks useful http://stackoverflow.com/questions/19268293/matlab-error-cannot-open-with-static-tls |
Following more of the google search I think this one looks useful basically it seems to imply the problem is if one compiles some code without |
On 23 Jul, 2014, at 4:32 PM, Chris Jones notifications@github.com wrote:
v. |
@VinInn you can get rid of the headers all together by moving the declaration of the class into the appropriate .cc and move the edm plugin macro call to the same .cc file. |
For the record. We do have the TLS fix from david in 72X already, since pre2. This is something else. Also we do have |
-1 runTheMatrix-results/4.53_RunPhoton2012B+RunPhoton2012B+HLTD+RECODreHLT+HARVESTDreHLT/step2_RunPhoton2012B+RunPhoton2012B+HLTD+RECODreHLT+HARVESTDreHLT.log ----- Begin Fatal Exception 23-Jul-2014 19:19:32 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 4.22 step2 runTheMatrix-results/4.22_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC/step2_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC.log ----- Begin Fatal Exception 23-Jul-2014 19:19:42 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 401.0 step1 runTheMatrix-results/401.0_TTbarNewMix+TTbarFSPU2+HARVESTFS/step1_TTbarNewMix+TTbarFSPU2+HARVESTFS.log ----- Begin Fatal Exception 23-Jul-2014 19:20:28 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoEgammaEgammaElectronProducersPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 1000.0 step2 runTheMatrix-results/1000.0_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT/step2_RunMinBias2011A+RunMinBias2011A+TIER0+SKIMD+HARVESTDfst2+ALCASPLIT.log ----- Begin Fatal Exception 23-Jul-2014 19:21:34 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 1001.0 step2 runTheMatrix-results/1001.0_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVD/step2_RunMinBias2011A+RunMinBias2011A+TIER0EXP+ALCAEXP+ALCAHARVD.log ----- Begin Fatal Exception 23-Jul-2014 19:22:23 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 1003.0 step2 runTheMatrix-results/1003.0_RunMinBias2012A+RunMinBias2012A+RECODDQM+HARVESTDDQM/step2_RunMinBias2012A+RunMinBias2012A+RECODDQM+HARVESTDDQM.log ----- Begin Fatal Exception 23-Jul-2014 19:22:28 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 50101.0 step2 runTheMatrix-results/50101.0_SingleMuPt10+SingleMuPt10FSIdINPUT+SingleMuPt10FS_ID/step2_SingleMuPt10+SingleMuPt10FSIdINPUT+SingleMuPt10FS_ID.log ----- Begin Fatal Exception 23-Jul-2014 19:23:34 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoEgammaEgammaElectronProducersPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- 25202.0 step2 runTheMatrix-results/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVEST+MINIAODMC/step2_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVEST+MINIAODMC.log ----- Begin Fatal Exception 23-Jul-2014 19:32:00 CEST----------------------- An exception of category 'PluginLibraryLoadError' occurred while [0] Constructing the EventProcessor Exception Message: unable to load /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_2_X-slc6_amd64_gcc481/CMSSW_7_2_X_2014-07-22-1400/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so because dlopen: cannot load any more object with static TLS ----- End Fatal Exception ------------------------------------------------- you can see the results of the tests here: |
works... |
from local file works, after a file is open from eos ldopen os unhappy |
with setenv LD_PRELOAD /home/vin/TrackerMT/CMSSW_7_2_X_2014-07-24-0200/lib/slc6_amd64_gcc481/pluginRecoTrackerCkfPatternPlugins.so the matrix succeeds.. |
Reading from EOS is done via xrootd and xrootd starts and stops threads which causes the TLS problem. |
it is a bad idea to add -fopenmp only to a plugin |
+1 for #4754 b44cb33 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (tests are also fine). |
RecoTracker/CkfPattern -- Make CkfPattern MT ready
Technical change to allow to run CkfPattern in parallel.
For the time being is compiler flag protected.
Not obvious to use a unique central configuration switch to control it