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

Streamline calling of unscheduled EDProducers #14081

Merged
merged 3 commits into from Apr 16, 2016

Conversation

Dr15Jones
Copy link
Contributor

When a data product from an unscheduled EDProducer was requested, we used to have UnscheduledProductResolver call a virtual function of Principal to call a virtual function of UnscheduledHandler to trigger looking the Worker which then calls the module. Now we setup to have the UnscheduledProductResolver have direct access to the Worker and therefore invoke it directly without any lookup or extra virtual calls.
This refactoring is needed for work to allow asynchronous calling of unscheduled EDProducers.

When a data product from an unscheduled EDProducer was requested, we used to have UnscheduledProductResolver call a virtual function of Principal to call a virtual function of UnscheduledHandler to trigger looking the Worker which then calls the module. Now we setup to have the UnscheduledProductResolver have direct access to the Worker and therefore invoke it directly without any lookup or extra virtual calls.
This refactoring is needed for work to allow asynchronous calling of unscheduled EDProducers.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_8_1_X.

It involves the following packages:

FWCore/Framework

@cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @wddgit, @wmtan this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12387/console

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1
Tested at: d6ac8e0
I found an error when building:

>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/src/TriggerResultInserter.cc 
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/src/SharedResourcesRegistry.cc 
In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/interface/WorkerManager.h:10:0,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/interface/Schedule.h:66,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/src/Schedule.cc:1:
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/interface/UnscheduledCallProducer.h:22:55: fatal error: FWCore/Framework/src/UnscheduledAuxiliary.h: No such file or directory
compilation terminated.
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/src/RunPrincipal.cc 
In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/interface/WorkerManager.h:10:0,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/interface/Schedule.h:66,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-13-2300/src/FWCore/Framework/src/Schedule.cc:1:


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

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
9066410
85ffdfe
abd4163
6bf9fcb
a329cf2
1c34f76
9630b9e
49aa681
623e81c
7dee7c8
a3da602
5bdbb54
f30cae3
60f96ea
39e3419
085d92a
3d88376
3063aac
fce6718
dc1314b
02909a0
ef96fe2
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14081/12387/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14081/12387/git-merge-result

'List

These files are needed for the simplification of unscheduled calling.
@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

Pull request #14081 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

please test

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12420/console

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 68e7b62 into cms-sw:CMSSW_8_1_X Apr 16, 2016
@Dr15Jones Dr15Jones deleted the simplifyUnscheduledCalling branch May 13, 2016 13:19
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

3 participants