Skip to content

Commit

Permalink
Disable assertLegacySafe when concurrent lumis are enabled.
Browse files Browse the repository at this point in the history
Note that this does not actually mean it is safe to use concurrent
lumis; we just disable the check if concurrent lumis are actually
requested. In fact, we know that assertLegacySafe fails even when there
are legacy modules that should block concurrent lumis.
  • Loading branch information
schneiml committed Feb 11, 2020
1 parent 7bf830b commit 35ad7e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2232,6 +2232,8 @@ def prepare(self, doChecking = False):
self.pythonCfgCode +="process.options.numberOfThreads=cms.untracked.uint32("+self._options.nThreads+")\n"
self.pythonCfgCode +="process.options.numberOfStreams=cms.untracked.uint32("+self._options.nStreams+")\n"
self.pythonCfgCode +="process.options.numberOfConcurrentLuminosityBlocks=cms.untracked.uint32("+self._options.nConcurrentLumis+")\n"
if self._options.nConcurrentLumis > 1:
self.pythonCfgCode +="if process.DQMStore: process.DQMStore.assertLegacySafe=cms.untracked.bool(False)\n"
self.process.options.numberOfThreads=cms.untracked.uint32(int(self._options.nThreads))
self.process.options.numberOfStreams=cms.untracked.uint32(int(self._options.nStreams))
self.process.options.numberOfConcurrentLuminosityBlocks=cms.untracked.uint32(int(self._options.nConcurrentLumis))
Expand Down

0 comments on commit 35ad7e2

Please sign in to comment.