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

GeneratorInterface/Herwig7Interface: replace auto_ptr removed in strict std=c++17 #24715

Merged
merged 3 commits into from Oct 3, 2018
Merged

GeneratorInterface/Herwig7Interface: replace auto_ptr removed in strict std=c++17 #24715

merged 3 commits into from Oct 3, 2018

Conversation

gartung
Copy link
Member

@gartung gartung commented Sep 27, 2018

No description provided.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gartung (Patrick Gartung) for master.

It involves the following packages:

GeneratorInterface/Herwig7Interface

@alberto-sanchez, @cmsbuild, @qliphy, @perrozzi, @efeyazgan can you please review it and eventually sign? Thanks.
@alberto-sanchez, @agrohsje, @mkirsano 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

@alberto-sanchez
Copy link
Member

please test workflow 511.0, 535.0

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 27, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/30728/console Started: 2018/09/28 01:53

@cmsbuild
Copy link
Contributor

-1

Tested at: b011b2e

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
6cb583d
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24715/30728/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24715/30728/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24715/30728/summary.html

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

I found an error when building:

>> Subsystem Utilities built
>> Entering Package GeneratorInterface/Herwig7Interface
Entering library rule at src/GeneratorInterface/Herwig7Interface/plugins
>> Compiling edm plugin /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_3_X_2018-09-27-1100/src/GeneratorInterface/Herwig7Interface/plugins/Herwig7Hadronizer.cc 
/build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_3_X_2018-09-27-1100/src/GeneratorInterface/Herwig7Interface/plugins/Herwig7Hadronizer.cc: In member function 'bool Herwig7Hadronizer::generatePartonsAndHadronize()':
/build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_3_X_2018-09-27-1100/src/GeneratorInterface/Herwig7Interface/plugins/Herwig7Hadronizer.cc:134:31: error: no match for 'operator=' (operand types are 'std::auto_ptr' and 'std::unique_ptr')
  event() = convert(thepegEvent);
                               ^
In file included from /cvmfs/cms-ib.cern.ch/nweek-02543/slc6_amd64_gcc700/external/gcc/7.0.0-omkpbe2/include/c++/7.3.1/memory:84:0,
                 from /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_3_X_2018-09-27-1100/src/GeneratorInterface/Herwig7Interface/plugins/Herwig7Hadronizer.cc:1:
/cvmfs/cms-ib.cern.ch/nweek-02543/slc6_amd64_gcc700/external/gcc/7.0.0-omkpbe2/include/c++/7.3.1/backward/auto_ptr.h:136:7: note: candidate: std::auto_ptr<  >& std::auto_ptr<  >::operator=(std::auto_ptr<  >&) [with _Tp = HepMC::GenEvent]

  • Clang:

I found a compilation error while trying to compile with clang:
I used this command:
scram b vclean && USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 16 COMPILER='llvm compile' BUILD_LOG=yes && scram build outputlog && (/build/cmsbld/jenkins/workspace/ib-any-integration/cms-bot/buildLogAnalyzer.py --logDir /build/cmsbld/jenkins/workspace/ib-any-integration/CMSSW_10_3_X_2018-09-27-1100/tmp/slc6_amd64_gcc700/cache/log/src || true)

>> Local Products Rules ..... done
>> Creating project symlinks
>> Entering Package GeneratorInterface/Herwig7Interface
>> Entering Package DQM/HcalTasks
>> Compile sequence completed for CMSSW CMSSW_10_3_X_2018-09-27-1100
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 1


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
6cb583d
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24715/30728/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24715/30728/git-merge-result

@cmsbuild
Copy link
Contributor

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

…cxx17' into GeneratorInterface-Herwig7Interface-strictcxx17
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@gartung
Copy link
Member Author

gartung commented Sep 28, 2018

Required coordinated change to GeneratorInterface/Core
merged in
#24712

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #24715 was updated. @alberto-sanchez, @cmsbuild, @qliphy, @perrozzi, @efeyazgan can you please check and sign again.

@alberto-sanchez
Copy link
Member

please test workflow 511.0, 535.0

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 28, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/30746/console Started: 2018/09/28 04:57

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24715/30746/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-24715/511.0_QCD_Pt-30_13TeV_aMCatNLO_herwig7+QCD_Pt-30_13TeV_aMCatNLO_herwig7+HARVESTGEN
  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-24715/535.0_TTbar_13TeV_Pow_herwig7+TTbar_13TeV_Pow_herwig7+HARVESTGEN

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3162160
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3161962
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 134 log files, 14 edm output root files, 32 DQM output files

@efeyazgan
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2018

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

fabiocos commented Oct 3, 2018

+1

@cmsbuild cmsbuild merged commit faeb7be into cms-sw:master Oct 3, 2018
@gartung gartung deleted the GeneratorInterface-Herwig7Interface-strictcxx17 branch November 5, 2018 15:32
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