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
Update the LHESource from fix in 75. #9448
Conversation
A new Pull Request was created by @parbol for CMSSW_7_1_X. Update the LHESource from fix in 75. It involves the following packages: GeneratorInterface/LHEInterface @vciulli, @cmsbuild, @covarell, @bendavid, @thuer can you please review it and eventually sign? Thanks. |
…osed to be there. Fixed now.
Hi Josh, The reason for this catch is that just before pushing I changed branch and that line got merged without me noticing. It's obviously a mistake. I have deleted it and updated the code, it should be fine now. |
@@ -64,8 +64,19 @@ void LHESource::nextEvent() | |||
return; | |||
} | |||
|
|||
bool newFileOpened = false; | |||
partonLevel = reader->next(&newFileOpened); | |||
//bool newFileOpened = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please just remove these two lines rather than commenting them.
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
Update the LHESource from fix in 75.
Comparison is ready There are some workflows for which there are errors in the baseline: |
The PR description suggests there was a problem with reading more than 3 LHE files in a single LHESource but from my tests in CMSSW_7_1_16_patch1 the following configuration (LHE files contain 50k events each) process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(100)
)
# Input source
process.source = cms.Source("LHESource",
fileNames = cms.untracked.vstring(
'root://cmsxrootd.fnal.gov//store/user/ferencek/LHE/Stop2ToStop1H_13TeV-madgraph/stop2_1000.0_0_decayed_1000006_200__1000022_25.lhe',
'root://cmsxrootd.fnal.gov//store/user/ferencek/LHE/Stop2ToStop1H_13TeV-madgraph/stop2_1000.0_0_decayed_1000006_400__1000022_225.lhe'
),
skipEvents = cms.untracked.uint32(50100)
) would result in a fatal exception
In CMSSW_7_1_16_patch2, after this PR got included, it all runs as expected. So it seems there was already a problem with reading more than 1 LHE file. Can an expert please comment? Also note that the above exception causes CRAB jobs to fail in case they attempt to read events beyond the first file. Interestingly enough, if a job started reading events at the end of the first file and continued to the second, that worked just fine. |
This pull request contains the update that was done in 75 to solve the issue where only 3 files were being read by LHESource.