-
Notifications
You must be signed in to change notification settings - Fork 207
expose additional libraries needed for celeritas geant4 interface compilation #10069
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
expose additional libraries needed for celeritas geant4 interface compilation #10069
Conversation
|
A new Pull Request was created by @kpedro88 for branch IB/CMSSW_16_0_X/master. @akritkbehera, @cmsbuild, @iarspider, @smuzaffar can you please review it and eventually sign? Thanks. |
|
cms-bot internal usage |
|
@smuzaffar @iarspider will this change automatically propagate to the branch |
|
please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-476cab/48072/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: Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
Yes, it will automatically propagate. |
|
@kpedro88 , yes these changes will be forward ported to adept branch. |
|
Pull request #10069 was updated. |
|
please test @kpedro88 , I have updated the revisions of changed tools |
|
please test |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-476cab/48085/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: Comparison SummarySummary:
|
|
+1 |
|
+externals |
|
This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_16_0_X/master IBs (tests are also fine). This pull request will be automatically merged. |
| <lib name="G4tracking"/> | ||
| <lib name="G4track"/> | ||
| <lib name="G4analysis"/> | ||
| <lib name="G4ptl"/> |
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.
This is a little odd, why would CMSSW need PTL now and not before? Celeritas doesn't link against it or the catch-all ${Geant4_LIBRARIES} (aside from our tests/examples which shouldn't affect CMSSW). @sanmayphy
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.
@sethrj somehow this was needed after adding geocel. My observations were described in a slack thread; I'll tag you
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.
For future reference:
sed -i '/<lib name="celeritas"\/>/a \ \ <lib name="geocel"\/>' $CMSSW_BASE/config/toolbox/el8_amd64_gcc12/tools/selected/celeritas.xml
scram setup celeritas
scram b clean
scram bresulted in an error:
>> Building shared library tmp/el8_amd64_gcc12/src/SimG4Core/Application/src/SimG4CoreApplication/libSimG4CoreApplication.so
lto-wrapper: warning: Extra option to '-Xassembler': --compress-debug-sections, dropping all '-Xassembler' and '-Wa' options.
/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02906/el8_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/../lib/gcc/x86_64-redhat-linux-gnu/12.3.1/../../../../x86_64-redhat-linux-gnu/bin/ld.bfd: tmp/el8_amd64_gcc12/src/SimG4Core/Application/src/SimG4CoreApplication/ccYmfNUF.ltrans19.ltrans.o: in function `PTL::TaskManager::~TaskManager()':
<artificial>:(.text+0x356): undefined reference to `PTL::ThreadPool::destroy_threadpool()'
/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02906/el8_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/../lib/gcc/x86_64-redhat-linux-gnu/12.3.1/../../../../x86_64-redhat-linux-gnu/bin/ld.bfd: tmp/el8_amd64_gcc12/src/SimG4Core/Application/src/SimG4CoreApplication/ccYmfNUF.ltrans19.ltrans.o: in function `PTL::TaskManager::~TaskManager()':
<artificial>:(.text+0x3bb): undefined reference to `PTL::ThreadPool::destroy_threadpool()'
/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02906/el8_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/../lib/gcc/x86_64-redhat-linux-gnu/12.3.1/../../../../x86_64-redhat-linux-gnu/bin/ld.bfd: tmp/el8_amd64_gcc12/src/SimG4Core/Application/src/SimG4CoreApplication/ccYmfNUF.ltrans34.ltrans.o: in function `celeritas::VecgeomParams::build_volumes_geant4(G4VPhysicalVolume const*)':
<artificial>:(.text+0x79c6): undefined reference to `g4vg::convert(G4VPhysicalVolume const*, g4vg::Options const&)'
collect2: error: ld returned 1 exit status
gmake: *** [config/SCRAM/GMake/Makefile.rules:1920: tmp/el8_amd64_gcc12/src/SimG4Core/Application/src/SimG4CoreApplication/libSimG4CoreApplication.so] Error 1
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2
This resolves linking errors observed when compiling a private CMSSW branch that integrates Celeritas.
attn: @sanmayphy @whokion