cmssw icon indicating copy to clipboard operation
cmssw copied to clipboard

Saving score as part of AXOL1TL Emulator

Open quinnanm opened this issue 1 year ago • 19 comments

PR description:

This adds score-saving to the AXOL1TL software emulation by creating a new "AXOL1TLScore" DataFormat and saving it as an output of the GlobalProducer. It is then saved to the l1 ntuple as a float in the "l1AXOEmuTree". This is enabled by default as a switch in the GlobalProducer "saveAxoScore". This update was presented in the most recent offline sw meeting [1]. No additional dependencies or menu changes are required.

[1] https://indico.cern.ch/event/1426003/#23-axol1tl-emulator

PR validation:

The code was checked with usual cms code checks, and tested by running re-emulation on a test ntuple.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

This will likely be back ported into 14_0_X

quinnanm avatar Jun 15 '24 01:06 quinnanm

@quinnanm, CMSSW_14_1_X branch is closed for direct updates. cms-bot is going to move this PR to master branch. In future, please use cmssw master branch to submit your changes.

cmsbuild avatar Jun 15 '24 01:06 cmsbuild

cms-bot internal usage

cmsbuild avatar Jun 15 '24 01:06 cmsbuild

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45227/40600

  • This PR adds an extra 56KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

    • File L1Trigger/L1TGlobal/interface/GlobalBoard.h modified in PR(s): #44222
    • File L1Trigger/L1TGlobal/plugins/L1TGlobalProducer.cc modified in PR(s): #44222
    • File L1Trigger/L1TGlobal/plugins/L1TGlobalProducer.h modified in PR(s): #44222
    • File L1Trigger/L1TGlobal/src/GlobalBoard.cc modified in PR(s): #44222

cmsbuild avatar Jun 15 '24 01:06 cmsbuild

A new Pull Request was created by @quinnanm for master.

It involves the following packages:

  • DataFormats/L1TGlobal (l1)
  • L1Trigger/L1TGlobal (l1)
  • L1Trigger/L1TNtuples (l1)

@aloeliger, @epalencia, @cmsbuild can you please review it and eventually sign? Thanks. @kreczko, @rovere, @Martin-Grunewald, @dinyar, @missirol, @eyigitba, @thomreis this is something you requested to watch as well. @rappoccio, @antoniovilela, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

cmsbuild avatar Jun 15 '24 01:06 cmsbuild

ok, I added a new commit with the following:

  • as requested, I made sure the checksum was right and removed previous versions, addressing comment https://github.com/cms-sw/cmssw/pull/45227#discussion_r1640809764
  • I now initialize the AXOL1TLScore class in the GlobalProducer with no arguments, addressing comment https://github.com/cms-sw/cmssw/pull/45227#discussion_r1640817183 -code checks/code format

Thanks, Melissa

quinnanm avatar Jun 21 '24 21:06 quinnanm

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45227/40675

  • This PR adds an extra 56KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

    • File L1Trigger/L1TGlobal/interface/GlobalBoard.h modified in PR(s): #44222
    • File L1Trigger/L1TGlobal/plugins/L1TGlobalProducer.cc modified in PR(s): #44222
    • File L1Trigger/L1TGlobal/plugins/L1TGlobalProducer.h modified in PR(s): #44222
    • File L1Trigger/L1TGlobal/src/GlobalBoard.cc modified in PR(s): #44222

cmsbuild avatar Jun 21 '24 21:06 cmsbuild

Pull request #45227 was updated. @cmsbuild, @aloeliger, @epalencia can you please check and sign again.

cmsbuild avatar Jun 21 '24 21:06 cmsbuild

@quinnanm , does the new model need to be added to external? If so, could you please take care of it?

epalencia avatar Jun 24 '24 14:06 epalencia

@quinnanm , does the new model need to be added to external? If so, could you please take care of it?

Yes, we are working on adding it as a release and separate PR to cms-dist.

quinnanm avatar Jun 25 '24 08:06 quinnanm

What is the status of and timeline for this PR, and its backport to 140X (together with the new model as external)?

Martin-Grunewald avatar Jul 02 '24 07:07 Martin-Grunewald

(together with the new model as external)?

IIUC, backport is here: https://github.com/cms-sw/cmsdist/pull/9272 (still missing signatures)

mmusich avatar Jul 02 '24 07:07 mmusich

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45227/40784

  • This PR adds an extra 60KB to repository

cmsbuild avatar Jul 03 '24 00:07 cmsbuild

Pull request #45227 was updated. @aloeliger, @cmsbuild, @epalencia can you please check and sign again.

cmsbuild avatar Jul 03 '24 00:07 cmsbuild

What is the status of and timeline for this PR, and its backport to 140X (together with the new model as external)?

Apologies for the delay, I was at a workshop.

I just added a commit with some minor changes (checksum 3 not 18, produceAXOL1TLScore rather than saveAXOScore, no more tokens in globalproducer). I was hoping @aloeliger would make a call on the true vs. false as default thread https://github.com/cms-sw/cmssw/pull/45227#discussion_r1663088556 and run the code checks commands. Otherwise, pending approval and resolution of the comments above, I anticipate this PR can be merged.

This is a separate and independent PR vs the new model v4 PR, which has already been merged: https://github.com/cms-sw/cmsdist/pull/9272, https://github.com/cms-sw/cmsdist/pull/9271, https://its.cern.ch/jira/browse/CMSLITDPG-1296. The new model can be deployed regardless, this PR applies to score saving for convenience in L1Ntuple emulation and offline DQM development.

quinnanm avatar Jul 03 '24 00:07 quinnanm

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45227/40799

  • This PR adds an extra 64KB to repository

cmsbuild avatar Jul 03 '24 14:07 cmsbuild

Pull request #45227 was updated. @aloeliger, @cmsbuild, @epalencia can you please check and sign again.

cmsbuild avatar Jul 03 '24 14:07 cmsbuild

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45227/40806

  • This PR adds an extra 64KB to repository

cmsbuild avatar Jul 03 '24 22:07 cmsbuild

Ok, I made another commit with false as the default for score saving, which should resolve all conversations I think. Let me know if there are any other concerns

quinnanm avatar Jul 03 '24 22:07 quinnanm

Pull request #45227 was updated. @aloeliger, @cmsbuild, @epalencia can you please check and sign again.

cmsbuild avatar Jul 03 '24 22:07 cmsbuild

please test

Martin-Grunewald avatar Jul 04 '24 04:07 Martin-Grunewald

-1

Failed Tests: Build ClangBuild Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-565b5b/40206/summary.html COMMIT: 26d8b0783cdd6aeb78fd17081597091be3798688 CMSSW: CMSSW_14_1_X_2024-07-03-2300/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45227/40206/install.sh to create a dev area with all the needed externals and cmssw changes.

Build

I found compilation error when building:

>> Compiling edm plugin src/L1Trigger/L1TGlobal/plugins/L1TUtmTriggerMenuESProducer.cc
/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/c++ -c -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=120301 -DTBB_SUPPRESS_DEPRECATED_MESSAGES -DTBB_PREVIEW_RESUMABLE_TASKS=1 -DTBB_PREVIEW_TASK_GROUP_EXTENSIONS=1 -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_MATH_DISABLE_STD_FPCLASSIFY -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DCMSSW_GIT_HASH='CMSSW_14_1_X_2024-07-03-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_14_1_X_2024-07-03-2300' -Isrc -Ipoison -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_1_X_2024-07-03-2300/src -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/pcre/8.43-e34796d17981e9b6d174328c69446455/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/boost/1.80.0-a1544032d9d65904ac2112b6d35bba55/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/bz2lib/1.0.6-d065ccd79984efc6d4660f410e4c81de/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/clhep/2.4.7.1-8e40efd27b7394c1fa4e9c7e432d85cd/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/gsl/2.6-5e2ce72ea2977ff21a2344bbb52daf5c/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/hls/2019.08-0e37f055a3ed22611ce5edecb14d0695/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/hls4mlEmulatorExtras/1.1.3-7abf6dadd3e09d4bf89fb5c47d56db40/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/libuuid/2.34-27ce4c3579b5b1de2808ea9c4cd8ed29/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/lcg/root/6.30.07-5b5d83179d6ed7bc60aa7a5006899eba/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/tbb/v2021.9.0-1dc6d66b4b014f4ae4733b04914ce7d4/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/utm/utm_0.13.0-a2bf401701f22e52723a6ff0922541c3/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/xerces-c/3.1.3-c7b88eaa36d0408120f3c29826a04bf6/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/xz/5.2.5-6f3f49b07db84e10c9be594a1176c114/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/zlib/1.2.11-1a082fc322b0051b504cc023f21df178/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-3ca740c03e68b1a067f3ed0679234a78/include/eigen3 -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/fmt/8.0.1-258b4791803c34b7e98cf43693e54d87/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/md5/1.0.0-5b594b264e04ae51e893b1d69a797ec6/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/OpenBLAS/0.3.15-c877ab57fa7b04ce290093588c6c5717/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/tinyxml2/6.2.0-88fe0ec301baf763fa3c485e5b67ed91/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++17 -ftree-vectorize -Werror=array-bounds -Werror=format-contains-nul -Werror=type-limits -fvisibility-inlines-hidden -fno-math-errno --param vect-max-version-for-alias-checks=50 -Xassembler --compress-debug-sections -Wno-error=array-bounds -Warray-bounds -fuse-ld=bfd -march=x86-64-v2 -felide-constructors -fmessage-length=0 -Wall -Wno-non-template-friend -Wno-long-long -Wreturn-type -Wextra -Wpessimizing-move -Wclass-memaccess -Wno-cast-function-type -Wno-unused-but-set-parameter -Wno-ignored-qualifiers -Wno-unused-parameter -Wunused -Wparentheses -Werror=return-type -Werror=missing-braces -Werror=unused-value -Werror=unused-label -Werror=address -Werror=format -Werror=sign-compare -Werror=write-strings -Werror=delete-non-virtual-dtor -Werror=strict-aliasing -Werror=narrowing -Werror=unused-but-set-variable -Werror=reorder -Werror=unused-variable -Werror=conversion-null -Werror=return-local-addr -Wnon-virtual-dtor -Werror=switch -fdiagnostics-show-option -Wno-unused-local-typedefs -Wno-attributes -Wno-psabi -DEIGEN_DONT_PARALLELIZE -DEIGEN_MAX_ALIGN_BYTES=64 -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC -MMD -MF tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/L1TUtmTriggerMenuESProducer.cc.d src/L1Trigger/L1TGlobal/plugins/L1TUtmTriggerMenuESProducer.cc -o tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/L1TUtmTriggerMenuESProducer.cc.o
>> Compiling edm plugin src/L1Trigger/L1TGlobal/plugins/StableParametersTrivialProducer.cc
/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/c++ -c -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=120301 -DTBB_SUPPRESS_DEPRECATED_MESSAGES -DTBB_PREVIEW_RESUMABLE_TASKS=1 -DTBB_PREVIEW_TASK_GROUP_EXTENSIONS=1 -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_MATH_DISABLE_STD_FPCLASSIFY -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DCMSSW_GIT_HASH='CMSSW_14_1_X_2024-07-03-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_14_1_X_2024-07-03-2300' -Isrc -Ipoison -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_1_X_2024-07-03-2300/src -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/pcre/8.43-e34796d17981e9b6d174328c69446455/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/boost/1.80.0-a1544032d9d65904ac2112b6d35bba55/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/bz2lib/1.0.6-d065ccd79984efc6d4660f410e4c81de/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/clhep/2.4.7.1-8e40efd27b7394c1fa4e9c7e432d85cd/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/gsl/2.6-5e2ce72ea2977ff21a2344bbb52daf5c/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/hls/2019.08-0e37f055a3ed22611ce5edecb14d0695/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/hls4mlEmulatorExtras/1.1.3-7abf6dadd3e09d4bf89fb5c47d56db40/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/libuuid/2.34-27ce4c3579b5b1de2808ea9c4cd8ed29/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/lcg/root/6.30.07-5b5d83179d6ed7bc60aa7a5006899eba/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/tbb/v2021.9.0-1dc6d66b4b014f4ae4733b04914ce7d4/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/utm/utm_0.13.0-a2bf401701f22e52723a6ff0922541c3/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/xerces-c/3.1.3-c7b88eaa36d0408120f3c29826a04bf6/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/xz/5.2.5-6f3f49b07db84e10c9be594a1176c114/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/zlib/1.2.11-1a082fc322b0051b504cc023f21df178/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-3ca740c03e68b1a067f3ed0679234a78/include/eigen3 -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/fmt/8.0.1-258b4791803c34b7e98cf43693e54d87/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/md5/1.0.0-5b594b264e04ae51e893b1d69a797ec6/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/OpenBLAS/0.3.15-c877ab57fa7b04ce290093588c6c5717/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/tinyxml2/6.2.0-88fe0ec301baf763fa3c485e5b67ed91/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++17 -ftree-vectorize -Werror=array-bounds -Werror=format-contains-nul -Werror=type-limits -fvisibility-inlines-hidden -fno-math-errno --param vect-max-version-for-alias-checks=50 -Xassembler --compress-debug-sections -Wno-error=array-bounds -Warray-bounds -fuse-ld=bfd -march=x86-64-v2 -felide-constructors -fmessage-length=0 -Wall -Wno-non-template-friend -Wno-long-long -Wreturn-type -Wextra -Wpessimizing-move -Wclass-memaccess -Wno-cast-function-type -Wno-unused-but-set-parameter -Wno-ignored-qualifiers -Wno-unused-parameter -Wunused -Wparentheses -Werror=return-type -Werror=missing-braces -Werror=unused-value -Werror=unused-label -Werror=address -Werror=format -Werror=sign-compare -Werror=write-strings -Werror=delete-non-virtual-dtor -Werror=strict-aliasing -Werror=narrowing -Werror=unused-but-set-variable -Werror=reorder -Werror=unused-variable -Werror=conversion-null -Werror=return-local-addr -Wnon-virtual-dtor -Werror=switch -fdiagnostics-show-option -Wno-unused-local-typedefs -Wno-attributes -Wno-psabi -DEIGEN_DONT_PARALLELIZE -DEIGEN_MAX_ALIGN_BYTES=64 -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC -MMD -MF tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/StableParametersTrivialProducer.cc.d src/L1Trigger/L1TGlobal/plugins/StableParametersTrivialProducer.cc -o tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/StableParametersTrivialProducer.cc.o
src/L1Trigger/L1TGlobal/plugins/L1TGlobalProducer.cc: In member function 'virtual void L1TGlobalProducer::produce(edm::Event&, const edm::EventSetup&)':
src/L1Trigger/L1TGlobal/plugins/L1TGlobalProducer.cc:575:7: error: 'm_saveAxoScore' was not declared in this scope
  575 |   if (m_saveAxoScore) {
      |       ^~~~~~~~~~~~~~
>> Compiling edm plugin src/L1Trigger/L1TGlobal/plugins/TriggerMenuParser.cc
/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/gcc/12.3.1-40d504be6370b5a30e3947a6e575ca28/bin/c++ -c -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=120301 -DTBB_SUPPRESS_DEPRECATED_MESSAGES -DTBB_PREVIEW_RESUMABLE_TASKS=1 -DTBB_PREVIEW_TASK_GROUP_EXTENSIONS=1 -DBOOST_SPIRIT_THREADSAFE -DPHOENIX_THREADSAFE -DBOOST_MATH_DISABLE_STD_FPCLASSIFY -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DCMSSW_GIT_HASH='CMSSW_14_1_X_2024-07-03-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_14_1_X_2024-07-03-2300' -Isrc -Ipoison -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/cms/cmssw-patch/CMSSW_14_1_X_2024-07-03-2300/src -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/pcre/8.43-e34796d17981e9b6d174328c69446455/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/boost/1.80.0-a1544032d9d65904ac2112b6d35bba55/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/bz2lib/1.0.6-d065ccd79984efc6d4660f410e4c81de/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/clhep/2.4.7.1-8e40efd27b7394c1fa4e9c7e432d85cd/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/gsl/2.6-5e2ce72ea2977ff21a2344bbb52daf5c/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/hls/2019.08-0e37f055a3ed22611ce5edecb14d0695/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/hls4mlEmulatorExtras/1.1.3-7abf6dadd3e09d4bf89fb5c47d56db40/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/libuuid/2.34-27ce4c3579b5b1de2808ea9c4cd8ed29/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/lcg/root/6.30.07-5b5d83179d6ed7bc60aa7a5006899eba/include -isystem/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/tbb/v2021.9.0-1dc6d66b4b014f4ae4733b04914ce7d4/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/utm/utm_0.13.0-a2bf401701f22e52723a6ff0922541c3/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/xerces-c/3.1.3-c7b88eaa36d0408120f3c29826a04bf6/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/xz/5.2.5-6f3f49b07db84e10c9be594a1176c114/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/zlib/1.2.11-1a082fc322b0051b504cc023f21df178/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/eigen/3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e-3ca740c03e68b1a067f3ed0679234a78/include/eigen3 -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/fmt/8.0.1-258b4791803c34b7e98cf43693e54d87/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/md5/1.0.0-5b594b264e04ae51e893b1d69a797ec6/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/OpenBLAS/0.3.15-c877ab57fa7b04ce290093588c6c5717/include -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02844/el8_amd64_gcc12/external/tinyxml2/6.2.0-88fe0ec301baf763fa3c485e5b67ed91/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++17 -ftree-vectorize -Werror=array-bounds -Werror=format-contains-nul -Werror=type-limits -fvisibility-inlines-hidden -fno-math-errno --param vect-max-version-for-alias-checks=50 -Xassembler --compress-debug-sections -Wno-error=array-bounds -Warray-bounds -fuse-ld=bfd -march=x86-64-v2 -felide-constructors -fmessage-length=0 -Wall -Wno-non-template-friend -Wno-long-long -Wreturn-type -Wextra -Wpessimizing-move -Wclass-memaccess -Wno-cast-function-type -Wno-unused-but-set-parameter -Wno-ignored-qualifiers -Wno-unused-parameter -Wunused -Wparentheses -Werror=return-type -Werror=missing-braces -Werror=unused-value -Werror=unused-label -Werror=address -Werror=format -Werror=sign-compare -Werror=write-strings -Werror=delete-non-virtual-dtor -Werror=strict-aliasing -Werror=narrowing -Werror=unused-but-set-variable -Werror=reorder -Werror=unused-variable -Werror=conversion-null -Werror=return-local-addr -Wnon-virtual-dtor -Werror=switch -fdiagnostics-show-option -Wno-unused-local-typedefs -Wno-attributes -Wno-psabi -DEIGEN_DONT_PARALLELIZE -DEIGEN_MAX_ALIGN_BYTES=64 -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC -MMD -MF tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/TriggerMenuParser.cc.d src/L1Trigger/L1TGlobal/plugins/TriggerMenuParser.cc -o tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/TriggerMenuParser.cc.o
gmake: *** [tmp/el8_amd64_gcc12/src/L1Trigger/L1TGlobal/plugins/L1TriggerL1TGlobalPlugins/L1TGlobalProducer.cc.o] Error 1

Clang Build

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'

>> Creating project symlinks
>> Entering Package DataFormats/L1TGlobal
>> Entering Package L1Trigger/L1TGlobal
>> Entering Package L1Trigger/L1TNtuples
>> Compile sequence completed for CMSSW CMSSW_14_1_X_2024-07-03-2300
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 1
+ eval scram build outputlog '&&' '(python3' /data/cmsbld/jenkins/workspace/ib-run-pr-tests/cms-bot/buildLogAnalyzer.py --logDir /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_14_1_X_2024-07-03-2300/tmp/el8_amd64_gcc12/cache/log/src '||' 'true)'
++ scram build outputlog
>> Entering Package DataFormats/L1TGlobal
Entering library rule at DataFormats/L1TGlobal
>> Building LCG reflex dict from header file src/DataFormats/L1TGlobal/src/classes.h

cmsbuild avatar Jul 04 '24 04:07 cmsbuild

What is the status of and timeline for this PR, and its backport to 140X (together with the new model as external)?

Apologies for the delay, I was at a workshop.

I just added a commit with some minor changes (checksum 3 not 18, produceAXOL1TLScore rather than saveAXOScore, no more tokens in globalproducer). I was hoping @aloeliger would make a call on the true vs. false as default thread #45227 (comment) and run the code checks commands. Otherwise, pending approval and resolution of the comments above, I anticipate this PR can be merged.

This is a separate and independent PR vs the new model v4 PR, which has already been merged: cms-sw/cmsdist#9272, cms-sw/cmsdist#9271, https://its.cern.ch/jira/browse/CMSLITDPG-1296. The new model can be deployed regardless, this PR applies to score saving for convenience in L1Ntuple emulation and offline DQM development.

I think after discussion at the L1T offline software meeting, we're fine with the non default production of AXOL1TL scores, this can be toggled by interested L1T (or HLT?) developers if required. As long as HLT is satisfied with the PR we're satisfied.

aloeliger avatar Jul 05 '24 12:07 aloeliger

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45227/40843

cmsbuild avatar Jul 05 '24 23:07 cmsbuild

Pull request #45227 was updated. @aloeliger, @cmsbuild, @epalencia can you please check and sign again.

cmsbuild avatar Jul 05 '24 23:07 cmsbuild

please test

Martin-Grunewald avatar Jul 07 '24 10:07 Martin-Grunewald

+1

Size: This PR adds an extra 12KB to repository Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-565b5b/40275/summary.html COMMIT: d4cba3083525a301a5e95c14fcacfd42b499d02e CMSSW: CMSSW_14_1_X_2024-07-07-0000/el8_amd64_gcc12 User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45227/40275/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

There are some workflows for which there are errors in the baseline: 29634.911 step 2 The results for the comparisons for these workflows could be incomplete This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

  • You potentially removed 22 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 18 differences found in the comparisons
  • DQMHistoTests: Total files compared: 47
  • DQMHistoTests: Total histograms compared: 3246793
  • DQMHistoTests: Total failures: 850
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3245923
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 46 files compared)
  • Checked 199 log files, 163 edm output root files, 47 DQM output files
  • TriggerResults: no differences found

cmsbuild avatar Jul 07 '24 14:07 cmsbuild

Looks good to go!

Martin-Grunewald avatar Jul 08 '24 11:07 Martin-Grunewald

What is the status of signing this PR, and making its backport to 140X ? @aloeliger @quinnanm

Martin-Grunewald avatar Jul 12 '24 12:07 Martin-Grunewald

@Martin-Grunewald Distracted mostly. If HLT is good with it's status, I'll check again and sign.

aloeliger avatar Jul 12 '24 12:07 aloeliger

+l1

aloeliger avatar Jul 12 '24 12:07 aloeliger