Skip to content

Commit

Permalink
Merge pull request #28920 from schneiml/dqm-fix-asserlegacysafe-in-co…
Browse files Browse the repository at this point in the history
…nfigbuilder

DQM: Disable assertLegacySafe when concurrent lumis are enabled.
  • Loading branch information
cmsbuild authored Mar 16, 2020
2 parents 4393e30 + 35ad7e2 commit d8696a8
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 d8696a8

Please sign in to comment.