-
Notifications
You must be signed in to change notification settings - Fork 183
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 TBB to 2021.2.0 and use cmake to build #6792
Conversation
A new Pull Request was created by @mrodozov (Mircho Rodozov) for branch IB/CMSSW_11_3_X/master. @cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks. |
please test |
@fwyzard do we need this patch and what it does (I didn't check what is actually doing), and also can I remove the -DCMAKE_BUILD_TYPE=RelWithDebInfo because it's a debug build or you want to check what it's doing first ? |
-1 Failed Tests: Build The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: BuildI found compilation error when building: >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/SimG4Core/Physics/src/PhysicsList.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/SimG4Core/Physics/src/PhysicsListFactory.cc In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/FWCore/PluginManager/interface/PluginFactory.h:27, from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/SimG4Core/Physics/interface/PhysicsListFactory.h:7, from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/SimG4Core/Physics/src/PhysicsListFactory.cc:1: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/FWCore/PluginManager/interface/PluginFactoryBase.h:64:58: error: 'zero_allocator' is not a member of 'tbb' 64 | typedef tbb::concurrent_vector> PMakers; | ^~~~~~~~~~~~~~ /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_3_X_2021-04-06-2300/src/FWCore/PluginManager/interface/PluginFactoryBase.h:64:73: error: template argument 2 is invalid 64 | typedef tbb::concurrent_vector> PMakers; | ^~~~~~~~~~~~~~~ |
I see the |
The oneAPI documentation for std::concurrent_vector says "You must synchronize construction and access." Maybe they changed their policy and put a much greater burden on the users? |
@dan131riley thoughts? |
That language was in the docs before oneAPI. Also strange, zero_allocator is still in the oneAPI spec as is the advice to use it for waiting on an element. I think the zero allocator is still the right thing to do there. It isn't a complicated class, so we could just copy it into FWCore/Utilities and s/tbb/edm/. I also opened an issue. |
If you mean the changes related to If you mean the part about +# Patch tbb v2021.1.1 CMake file to support $HWLOC_ROOT
+# not needed in the tbb master branch
+Patch: tbb-2021.1.1-cmake_policy-CMP0074 then I think it can be dropped: according to the documentation we can use the same approach as in #6525 .
I actually think we should keep |
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.
Update the spec file to use the syntax for using the hwloc library introduced in TBB v2021.2.0.
Pull request #6792 was updated. |
please test |
please test with cms-sw/cmssw#33474 |
-1 Failed Tests: HeaderConsistency The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
please test with cms-sw/cmssw#33474 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca273c/14544/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Found compilation warnings Comparison SummarySummary:
|
please test with cms-sw/cmssw#33474 |
Is there a difference between starting tests from cmssw vs cvmsdist? |
the 'tests approved' label will appear only on the PR from where you are testing |
Ok, thanks. The last test launched from cmssw side just failed in a way that looked suspicious (like TBB library would be missing). |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca273c/14757/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Found compilation warnings Comparison SummarySummary:
|
+1 |
this is using existing PR + additional flag and new version