Skip to content
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

Herwig7.1.4 to 94X #28649

Closed
wants to merge 1 commit into from

Conversation

Andrej-CMS
Copy link
Contributor

PR description:

This PR introduces Herwig7 to 94X to be able to run the generator in the 5TeV campaign.
The PR introduces the Interface, the python configuration files to be used in official production, and the workflow 535 with which this PR should be tested.

PR validation:

Was tested with WF 535 (backported here). Tested with fragment from TOP-RunIIFall18wmLHEGS-00358 with :
cmsDriver.py GeneratorInterface/Herwig7Interface/python/TOP-RunIIFall18wmLHEGS-00358-fragment.py --fileout file:TOP-RunIIFall18wmLHEGS-00358.root --mc --eventcontent RAWSIM,LHE --datatier GEN-SIM,LHE --conditions 94X_mc2017_realistic_forppRef5TeV --beamspot Realistic5TeVppCollision2017 --step LHE,GEN,SIM --nThreads 8 --geometry DB:Extended --era Run2_2017_ppRef

Also ran a test with numberEventsInLuminosityBlock= cms.untracked.uint32(20) with 350 events.

if this PR is a backport please specify the original PR:

#26905

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Andrej-CMS for CMSSW_9_4_X.

It involves the following packages:

Configuration/Generator
Configuration/PyReleaseValidation
GeneratorInterface/Herwig7Interface

@SiewYan, @cmsbuild, @efeyazgan, @mkirsano, @chayanit, @zhenhu, @kpedro88, @pgunnell, @agrohsje, @alberto-sanchez, @qliphy can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @alberto-sanchez, @agrohsje, @mkirsano, @makortel this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@Andrej-CMS
Copy link
Contributor Author

to be tested with cms-sw/cmsdist#5439 and WorkFlow 535 introduced in this PR for 94X.

@kpedro88
Copy link
Contributor

test parameters
workflows = 535.0
pull_requests = cms-sw/cmsdist#5439

@kpedro88
Copy link
Contributor

@mrodozov @smuzaffar is that the correct syntax for the new feature?

@smuzaffar
Copy link
Contributor

yes, but you still need to explicitly start the tests using "please test" comment

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 18, 2019

The tests are being triggered in jenkins.
Tested with other pull request(s) cms-sw/cmsdist#5439
Test Parameters:

@cmsbuild
Copy link
Contributor

-1

Tested at: 7215f6a

CMSSW: CMSSW_9_4_X_2019-12-17-2300
SCRAM_ARCH: slc6_amd64_gcc630
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8fdb16/4048/summary.html

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

I found compilation error when building:

/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/RCPtr.h: In instantiation of 'ThePEG::Pointer::RCPtr& ThePEG::Pointer::RCPtr::create(ThePEG::Pointer::RCPtr::const_reference) [with T = ThePEG::LesHouchesInterface; ThePEG::Pointer::RCPtr::const_reference = const ThePEG::LesHouchesInterface&]':
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/RCPtr.h:131:22:   required from 'static ThePEG::Pointer::RCPtr ThePEG::Pointer::RCPtr::Create(ThePEG::Pointer::RCPtr::const_reference) [with T = ThePEG::LesHouchesInterface; ThePEG::Pointer::RCPtr::const_reference = const ThePEG::LesHouchesInterface&]'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/RCPtr.h:889:69:   required from 'static ThePEG::Pointer::PtrTraits >::pointer ThePEG::Pointer::PtrTraits >::create(ThePEG::Pointer::PtrTraits >::const_reference) [with T = ThePEG::LesHouchesInterface; ThePEG::Pointer::PtrTraits >::pointer = ThePEG::Pointer::RCPtr; ThePEG::Pointer::PtrTraits >::const_reference = const ThePEG::LesHouchesInterface&]'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/PtrTraits.h:204:55:   required from 'typename ThePEG::Pointer::Ptr::pointer ThePEG::Pointer::new_ptr(const T&) [with T = ThePEG::LesHouchesInterface; typename ThePEG::Pointer::Ptr::pointer = ThePEG::Pointer::RCPtr]'
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_9_4_X_2019-12-17-2300/src/GeneratorInterface/ThePEGInterface/plugins/ThePEGLesHouchesInterface.cc:38:53:   required from here
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/RCPtr.h:152:11: error: invalid new-expression of abstract class type 'ThePEG::LesHouchesInterface'
     ptr = new T(t);
           ^~~~~~~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_9_4_X_2019-12-17-2300/src/GeneratorInterface/ThePEGInterface/plugins/ThePEGLesHouchesInterface.cc:30:7: note:   because the following virtual functions are pure within 'ThePEG::LesHouchesInterface':
 class LesHouchesInterface : public LesHouchesReader {
       ^~~~~~~~~~~~~~~~~~~

  • Clang:

I found compilation error while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_9_4_X_2019-12-17-2300/src/GeneratorInterface/ThePEGInterface/plugins/ThePEGHadronizer.cc 
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_9_4_X_2019-12-17-2300/src/GeneratorInterface/ThePEGInterface/plugins/ThePEGLesHouchesInterface.cc 
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_9_4_X_2019-12-17-2300/src/GeneratorInterface/ThePEGInterface/plugins/ThePEGLesHouchesInterface.cc:10:
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Interface/ClassDocumentation.h:13:
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Config/ThePEG.h:23:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/RCPtr.h:152:15: error: allocating an object of abstract class type 'ThePEG::LesHouchesInterface'
    ptr = new T(t);
              ^
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/slc6_amd64_gcc630/external/thepeg/2.1.4-8fdb16/include/ThePEG/Pointer/RCPtr.h:131:14: note: in instantiation of member function 'ThePEG::Pointer::RCPtr::create' requested here
    return p.create(t);
             ^


@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@kpedro88
Copy link
Contributor

kpedro88 commented Jan 8, 2020

@Andrej-CMS do you understand the source of the error?

@kpedro88
Copy link
Contributor

@Andrej-CMS what is the status of this PR?

@silviodonato
Copy link
Contributor

@Andrej-CMS do you have any news on this PR?

@silviodonato
Copy link
Contributor

I'm closing this PR since there was no activity in the last weeks. You can open it back again as soon as you have any news.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants