Skip to content

[GCC15] Add -ftrack-macro-expansion=0 to avoid high RSS during pre-processing - #10848

Open
smuzaffar wants to merge 2 commits into
IB/CMSSW_20_1_X/g15from
smuzaffar-patch-2
Open

[GCC15] Add -ftrack-macro-expansion=0 to avoid high RSS during pre-processing#10848
smuzaffar wants to merge 2 commits into
IB/CMSSW_20_1_X/g15from
smuzaffar-patch-2

Conversation

@smuzaffar

@smuzaffar smuzaffar commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

GCC 15 can use excessive memory when compiling some macro-heavy CMSSW sources. For example, RecoTracker/LSTCore/src/alpaka/LST.cc uses ~9 GB of memory, with most of it spent during preprocessing/macro-expansion tracking. This can lead to OOM failures when multiple compilation jobs run in parallel.

Testing -ftrack-macro-expansion=0 reduces the memory usage of this compilation from ~9 GB to below 1 GB and also reduces the compilation time significantly.

This PR enables -ftrack-macro-expansion=0 to evaluate its impact on CMSSW builds. The option only disables detailed macro-expansion tracking for diagnostics; macro expansion and generated code are unchanged.

If the test is successful, we will consider enabling it for IB/release builds while retaining full macro-expansion tracking for CI/PR builds.

@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @smuzaffar for branch IB/CMSSW_20_1_X/g15.

@akritkbehera, @iarspider, @raoatifshad, @smuzaffar can you please review it and eventually sign? Thanks.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.
cms-bot commands are listed here

@cmsbuild

cmsbuild commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test using full cmssw for CMSSW_20_1_X/el9_amd64_gcc15

@smuzaffar smuzaffar changed the title [GCC15] Add CPPFLAGS=-ftrack-macro-expansion=0 tto avoid high RSS during pre-processing [GCC15] Add -ftrack-macro-expansion=0 to avoid high RSS during pre-processing Sep 13, 2026
@fwyzard

fwyzard commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

If the test is successful, we will consider enabling it for IB/release builds while retaining full macro-expansion tracking for CI/PR builds.

What behaviour do developers get in their cmsrel ... area ?

@smuzaffar

Copy link
Copy Markdown
Contributor Author

The default LST.cc compilation for GCC 15 shows

Time variable                                  wall           GGC
 phase setup                        :   0.01 (  0%)  1984k (  0%)
----> phase parsing                      :  27.90 ( 95%)  9326M ( 99%)
 phase lang. deferred               :   0.61 (  2%)    78M (  1%)
 phase opt and generate             :   0.71 (  2%)    34M (  0%)
 |name lookup                       :   0.36 (  1%)    23M (  0%)
 |overload resolution               :   0.56 (  2%)    72M (  1%)
 garbage collection                 :   0.63 (  2%)     0  (  0%)
 dump files                         :   0.02 (  0%)     0  (  0%)
 callgraph construction             :   0.06 (  0%)  5506k (  0%)
 callgraph optimization             :   0.03 (  0%)    28k (  0%)
 callgraph ipa passes               :   0.62 (  2%)    21M (  0%)
 ipa function summary               :   0.01 (  0%)   540k (  0%)
 ipa cp                             :   0.01 (  0%)   490k (  0%)
 ipa function splitting             :   0.01 (  0%)   628k (  0%)
 lto stream compression             :   0.05 (  0%)     0  (  0%)
 lto stream output                  :   0.01 (  0%)     0  (  0%)
 ipa lto gimple out                 :   0.02 (  0%)    52k (  0%)
 ipa lto decl out                   :   0.01 (  0%)  6456  (  0%)
 ipa icf                            :   0.01 (  0%)  9304  (  0%)
 ipa free lang data                 :   0.07 (  0%)  1029k (  0%)
 alias stmt walking                 :   0.01 (  0%)    95k (  0%)
---->  preprocessing                      :  23.86 ( 82%)  8605M ( 91%)
 parser (global)                    :   0.66 (  2%)   192M (  2%)
 parser struct body                 :   0.44 (  2%)    86M (  1%)
 parser enumerator list             :   0.01 (  0%)  1640k (  0%)
 parser function body               :   0.15 (  1%)    22M (  0%)
 parser inl. func. body             :   0.33 (  1%)    76M (  1%)
 parser inl. meth. body             :   0.91 (  3%)   117M (  1%)
 template instantiation             :   1.36 (  5%)   290M (  3%)
 constant expression evaluation     :   0.07 (  0%)  3862k (  0%)
 constraint normalization           :   0.01 (  0%)   659k (  0%)
 constraint satisfaction            :   0.06 (  0%)  6419k (  0%)
 early inlining heuristics          :   0.01 (  0%)   671k (  0%)
 inline parameters                  :   0.03 (  0%)  1891k (  0%)
 integration                        :   0.03 (  0%)  5533k (  0%)
 tree gimplify                      :   0.03 (  0%)  4982k (  0%)
 tree CFG construction              :   0.01 (  0%)  2055k (  0%)
 tree CFG cleanup                   :   0.02 (  0%)    40k (  0%)
 tree Early VRP                     :   0.08 (  0%)  1326k (  0%)
 tree PTA                           :   0.02 (  0%)   357k (  0%)
 tree SSA rewrite                   :   0.01 (  0%)  1299k (  0%)
 tree SSA incremental               :   0.01 (  0%)   535k (  0%)
 tree operand scan                  :   0.01 (  0%)  2932k (  0%)
 backwards jump threading           :   0.01 (  0%)   127k (  0%)
 tree SRA                           :   0.01 (  0%)   387k (  0%)
 tree CCP                           :   0.02 (  0%)   203k (  0%)
 tree FRE                           :   0.03 (  0%)   547k (  0%)
 tree forward propagate             :   0.01 (  0%)   106k (  0%)
 tree aggressive DCE                :   0.01 (  0%)  1196k (  0%)

while with -ftrack-macro-expansion=0 we get

Time variable                                  wall           GGC
 phase setup                        :   0.00 (  0%)  1984k (  0%)
----> phase parsing                      :  15.74 ( 93%)   701M ( 86%)
 phase lang. deferred               :   0.59 (  3%)    78M ( 10%)
 phase opt and generate             :   0.59 (  4%)    34M (  4%)
 |name lookup                       :   0.41 (  2%)    23M (  3%)
 |overload resolution               :   0.57 (  3%)    72M (  9%)
 garbage collection                 :   0.46 (  3%)     0  (  0%)
 callgraph construction             :   0.05 (  0%)  5506k (  1%)
 callgraph optimization             :   0.03 (  0%)    28k (  0%)
 callgraph ipa passes               :   0.51 (  3%)    21M (  3%)
 ipa function summary               :   0.01 (  0%)   540k (  0%)
 ipa cp                             :   0.01 (  0%)   490k (  0%)
 ipa function splitting             :   0.01 (  0%)   628k (  0%)
 lto stream compression             :   0.05 (  0%)     0  (  0%)
 lto stream output                  :   0.01 (  0%)     0  (  0%)
 ipa lto gimple out                 :   0.02 (  0%)    52k (  0%)
 ipa lto decl out                   :   0.01 (  0%)  6456  (  0%)
 ipa icf                            :   0.01 (  0%)  9304  (  0%)
 ipa free lang data                 :   0.04 (  0%)  1029k (  0%)
 alias stmt walking                 :   0.01 (  0%)    95k (  0%)
----> preprocessing                      :  11.63 ( 69%)    12M (  2%)
 parser (global)                    :   0.72 (  4%)   191M ( 23%)
 parser struct body                 :   0.53 (  3%)    89M ( 11%)
 parser enumerator list             :   0.01 (  0%)  2666k (  0%)
 parser function body               :   0.23 (  1%)    28M (  4%)
 parser inl. func. body             :   0.43 (  3%)    72M (  9%)
 parser inl. meth. body             :   0.76 (  5%)    78M ( 10%)
 template instantiation             :   1.41 (  8%)   292M ( 36%)
 constant expression evaluation     :   0.08 (  0%)  3864k (  0%)
 constraint normalization           :   0.01 (  0%)   897k (  0%)
 constraint satisfaction            :   0.06 (  0%)  6935k (  1%)
 early inlining heuristics          :   0.01 (  0%)   671k (  0%)
 inline parameters                  :   0.02 (  0%)  1891k (  0%)
 integration                        :   0.03 (  0%)  5533k (  1%)
 tree gimplify                      :   0.02 (  0%)  5238k (  1%)
 tree CFG construction              :   0.00 (  0%)  2055k (  0%)
 tree CFG cleanup                   :   0.02 (  0%)    40k (  0%)
 tree Early VRP                     :   0.05 (  0%)  1326k (  0%)
 tree PTA                           :   0.02 (  0%)   357k (  0%)
 tree SSA rewrite                   :   0.01 (  0%)  1299k (  0%)
 tree SSA incremental               :   0.01 (  0%)   535k (  0%)
 tree operand scan                  :   0.01 (  0%)  2932k (  0%)
 backwards jump threading           :   0.01 (  0%)   127k (  0%)
 tree SRA                           :   0.01 (  0%)   387k (  0%)
 tree CCP                           :   0.02 (  0%)   203k (  0%)
 tree FRE                           :   0.02 (  0%)   547k (  0%)
 tree forward propagate             :   0.01 (  0%)   106k (  0%)
 tree aggressive DCE                :   0.01 (  0%)  1196k (  0%)

and with -ftrack-macro-expansion=1 we get

Time variable                                  wall           GGC
 phase setup                        :   0.00 (  0%)  1984k (  0%)
----> phase parsing                      :  21.65 ( 94%)  4823M ( 97%)
 phase lang. deferred               :   0.70 (  3%)    78M (  2%)
 phase opt and generate             :   0.58 (  3%)    66M (  1%)
 |name lookup                       :   0.41 (  2%)    23M (  0%)
 |overload resolution               :   0.63 (  3%)    72M (  1%)
 garbage collection                 :   0.38 (  2%)     0  (  0%)
 callgraph construction             :   0.05 (  0%)  5506k (  0%)
 callgraph optimization             :   0.02 (  0%)    28k (  0%)
 callgraph ipa passes               :   0.50 (  2%)    53M (  1%)
 ipa function summary               :   0.01 (  0%)   540k (  0%)
 ipa cp                             :   0.01 (  0%)   490k (  0%)
 ipa function splitting             :   0.01 (  0%)   628k (  0%)
 lto stream compression             :   0.05 (  0%)     0  (  0%)
 lto stream output                  :   0.01 (  0%)     0  (  0%)
 ipa lto gimple out                 :   0.02 (  0%)    52k (  0%)
 ipa lto decl out                   :   0.02 (  0%)  6456  (  0%)
 ipa icf                            :   0.01 (  0%)  9304  (  0%)
 ipa free lang data                 :   0.04 (  0%)  1029k (  0%)
 alias stmt walking                 :   0.01 (  0%)    95k (  0%)
----> preprocessing                      :  17.51 ( 76%)  4135M ( 83%)
 parser (global)                    :   0.73 (  3%)   198M (  4%)
 parser struct body                 :   0.48 (  2%)    88M (  2%)
 parser enumerator list             :   0.01 (  0%)  1640k (  0%)
 parser function body               :   0.18 (  1%)    14M (  0%)
 parser inl. func. body             :   0.42 (  2%)    77M (  2%)
 parser inl. meth. body             :   0.98 (  4%)    84M (  2%)
 template instantiation             :   1.52 (  7%)   290M (  6%)
 constant expression evaluation     :   0.08 (  0%)  3862k (  0%)
 constraint normalization           :   0.01 (  0%)   659k (  0%)
 constraint satisfaction            :   0.07 (  0%)  6419k (  0%)
 early inlining heuristics          :   0.01 (  0%)   671k (  0%)
 inline parameters                  :   0.02 (  0%)  1891k (  0%)
 integration                        :   0.03 (  0%)    37M (  1%)
 tree gimplify                      :   0.02 (  0%)  4982k (  0%)
 tree CFG construction              :   0.00 (  0%)  2055k (  0%)
 tree CFG cleanup                   :   0.02 (  0%)    40k (  0%)
 tree Early VRP                     :   0.04 (  0%)  1326k (  0%)
 tree PTA                           :   0.02 (  0%)   357k (  0%)
 tree SSA rewrite                   :   0.01 (  0%)  1299k (  0%)
 tree SSA incremental               :   0.01 (  0%)   535k (  0%)
 tree operand scan                  :   0.01 (  0%)  2932k (  0%)
 backwards jump threading           :   0.01 (  0%)   127k (  0%)
 tree SRA                           :   0.01 (  0%)   387k (  0%)
 tree CCP                           :   0.02 (  0%)   203k (  0%)
 tree FRE                           :   0.02 (  0%)   547k (  0%)
 tree forward propagate             :   0.01 (  0%)   106k (  0%)
 tree aggressive DCE                :   0.01 (  0%)  1196k (  0%)

@smuzaffar

Copy link
Copy Markdown
Contributor Author

If the test is successful, we will consider enabling it for IB/release builds while retaining full macro-expansion tracking for CI/PR builds.

What behaviour do developers get in their cmsrel ... area ?

Same as PR/CI tests i.e. we build without -ftrack-macro-expansion=0

@smuzaffar

smuzaffar commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

Note that with GCC 14 the LST.cc use 4.5GB of RSS so that is why we have not see issues like [a] in gcc14 IBs. As now GCC15 IBs have cuda enabled so we are building more (three alpaka backends (cpu, cuda and rocm) and all these are built for two micro-architectures ( x86-64-v3 (default) and x86-64-v2 (additional) ). So in IBs and releases, we have many such high memory consuming jobs running in parallel.

For user dev area and PR tests, we only build for one micro architectiure and also we do not build full cmssw so chances of such OOM is less during PR tests

[a] https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/el9_amd64_gcc15/CMSSW_20_1_X_2026-09-11-2300/RecoTracker/LSTCore

>> Compiling alpaka/serial scram_x86-64-v2 src/RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc
/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/gcc/15.3.1-d0029c3359733fc60a20a68217f2ee30/bin/c++ -c -DCMS_MICRO_ARCH='x86-64-v2' -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=150301 -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 -DBOOST_MPL_IGNORE_PARENTHESES_WARNING -DDD4HEP_USE_GEANT4_UNITS=1 -DCMSSW_GIT_HASH='CMSSW_20_1_X_2026-09-11-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_20_1_X_2026-09-11-2300' -Isrc -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/dd4hep/v01-37x-031b576dcb45e3df9683ac28c3c92d19/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/pcre/8.43-2e7cd569f80863eb9dfcf87970bfdccd/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/boost/1.92.0-3eaf8a183df8cc77a4ce5ac549e2d0e8/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/bz2lib/1.0.8-dacdc81794eb1c23244654b096d5e8f8/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/clhep/2.4.7.2-64c40c879108baff2af8ce7d5453c293/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/gsl/2.6-811f5a148a1825735987ef4d2698696a/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/libuuid/2.40-c2a3b3080a707cf8c78728fbf2ac665e/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/lcg/root/6.36.15-69d8c11d03ee187fc814a0e8a1f03f75/include -isystem/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/tbb/v2022.3.0-51dbeb661f0bf655bf554fe6bd043fc8/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/xerces-c/3.1.3-e48b69de25b987e86de9b3149da6efba/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/xz/5.8.3-330fa033891c5047b20099ed7c39a049/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/zlib/1.3.2-992f3b833708f30789f7ac5c998d015e/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/alpaka/2.1.1-3caaac8d71f39d400ab2511b2403675a/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/eigen/5.0.1-a08466f2ae786748cc7d248d552f4cff/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/eigen/5.0.1-a08466f2ae786748cc7d248d552f4cff/include/eigen3 -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/fmt/10.2.1-3cde8f477a60e8f76854d0424ea303ae/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/md5/2.0.0-e96f5713a508a28b4e21b910decc9f17/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/OpenBLAS/0.3.27-e0dcc6346b223a5d7147ec9d1f6a4b64/include -I/data/cmsbld/jenkins/workspace/build-any-ib/w/el9_amd64_gcc15/external/tinyxml2/6.2.0-71c40642358afd1fc6abc610ea54c6f7/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++20 -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 -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=unused-value -Werror=unused-result -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 -DALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT=128 -DALPAKA_DISABLE_VENDOR_RNG -DALPAKA_HAS_STD_ATOMIC_REF -Wno-error=unused-variable -DALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLED -DBOOST_DISABLE_ASSERTS -march=x86-64-v2 -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC -MMD -MF tmp/el9_amd64_gcc15/src/RecoTracker/LSTCore/src/alpaka/RecoTrackerLSTCoreSerialSync/scram_x86-64-v2/LSTEvent.dev.cc.d src/RecoTracker/LSTCore/src/alpaka/LSTEvent.dev.cc -o tmp/el9_amd64_gcc15/src/RecoTracker/LSTCore/src/alpaka/RecoTrackerLSTCoreSerialSync/scram_x86-64-v2/LSTEvent.dev.cc.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
  gmake: *** [tmp/el9_amd64_gcc15/src/RecoTracker/LSTCore/src/alpaka/RecoTrackerLSTCoreSerialSync/LST.cc.o] Error 1

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02a350/55822/summary.html
COMMIT: 1959d4b
CMSSW: CMSSW_20_1_X_2026-09-11-2300/el9_amd64_gcc15
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/10848/55822/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02a350/55822/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02a350/55822/git-merge-result

Failed Build

I found compilation error when building:

>> Subsystem RecoTICL built
>> Subsystem SimRomanPot built
Copying tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/SoACustomizedMethodsHip/libSoACustomizedMethodsHip_rocm.a to productstore area:
cp: cannot stat 'tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/SoACustomizedMethodsHip/libSoACustomizedMethodsHip_rocm.a': No such file or directory
>> Deleted: tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/SoACustomizedMethodsHip/libSoACustomizedMethodsHip_rocm.a
gmake: *** [config/SCRAM/GMake/Makefile.rules:1926: tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/SoACustomizedMethodsHip/libSoACustomizedMethodsHip_rocm.a] Error 1
Copying tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/testRocmSoALayoutAndView_t/libtestRocmSoALayoutAndView_t_rocm.a to productstore area:
cp: cannot stat 'tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/testRocmSoALayoutAndView_t/libtestRocmSoALayoutAndView_t_rocm.a': No such file or directory
>> Deleted: tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/testRocmSoALayoutAndView_t/libtestRocmSoALayoutAndView_t_rocm.a
gmake: *** [config/SCRAM/GMake/Makefile.rules:1926: tmp/el9_amd64_gcc15/src/DataFormats/SoATemplate/test/testRocmSoALayoutAndView_t/libtestRocmSoALayoutAndView_t_rocm.a] Error 1
>> Entering Package DataFormats/StdDictionaries


@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #10848 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test with cms-sw/cmssw-config#123 using full cmssw for CMSSW_20_1_X/el9_amd64_gcc15

@smuzaffar

Copy link
Copy Markdown
Contributor Author

enable multi_microarchs,gpu

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test with cms-sw/cmssw-config#123 using full cmssw for CMSSW_20_1_X/el9_amd64_gcc15

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02a350/55825/summary.html
COMMIT: e4a39f3
CMSSW: CMSSW_20_1_X_2026-09-11-2300/el9_amd64_gcc15
Additional Tests: MULTI_MICROARCHS,GPU,AMD_MI300X,AMD_W7900,NVIDIA_H100,NVIDIA_L40S,NVIDIA_T4
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/10848/55825/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02a350/55825/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02a350/55825/git-merge-result

Failed Build

I found compilation error when building:

/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/gcc/15.3.1-d0029c3359733fc60a20a68217f2ee30/bin/c++ -c -DCMS_MICRO_ARCH='' -ftrack-macro-expansion=0 -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=150301 -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 -DBOOST_MPL_IGNORE_PARENTHESES_WARNING -DCMSSW_GIT_HASH='CMSSW_20_1_X_2026-09-11-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_20_1_X_2026-09-11-2300' -Isrc -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/hepmc3/3.3.1-1df6c2c7e406fc4213f0785333b4cace/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/pcre/8.43-2e7cd569f80863eb9dfcf87970bfdccd/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/boost/1.92.0-3eaf8a183df8cc77a4ce5ac549e2d0e8/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/bz2lib/1.0.8-dacdc81794eb1c23244654b096d5e8f8/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/clhep/2.4.7.2-64c40c879108baff2af8ce7d5453c293/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/gsl/2.6-811f5a148a1825735987ef4d2698696a/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/hepmc/2.06.10-2dde2ba112214420ccbbfc20899ea331/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/libuuid/2.40-c2a3b3080a707cf8c78728fbf2ac665e/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/lcg/root/6.36.15-69d8c11d03ee187fc814a0e8a1f03f75/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/tbb/v2022.3.0-51dbeb661f0bf655bf554fe6bd043fc8/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/xz/5.8.3-330fa033891c5047b20099ed7c39a049/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/zlib/1.3.2-992f3b833708f30789f7ac5c998d015e/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/zstd/1.5.7-dd41d7a96454092322dfa50efe8fefd5/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/eigen/5.0.1-a08466f2ae786748cc7d248d552f4cff/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/eigen/5.0.1-a08466f2ae786748cc7d248d552f4cff/include/eigen3 -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/md5/2.0.0-e96f5713a508a28b4e21b910decc9f17/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/OpenBLAS/0.3.27-e0dcc6346b223a5d7147ec9d1f6a4b64/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/tinyxml2/6.2.0-71c40642358afd1fc6abc610ea54c6f7/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++20 -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-v3 -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=unused-value -Werror=unused-result -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/el9_amd64_gcc15/src/SimMuon/DTDigitizer/src/SimMuonDTDigitizer/DTDriftTimeParametrization.cc.d src/SimMuon/DTDigitizer/src/DTDriftTimeParametrization.cc -o tmp/el9_amd64_gcc15/src/SimMuon/DTDigitizer/src/SimMuonDTDigitizer/DTDriftTimeParametrization.cc.o
>> Compiling edm plugin src/SimMuon/DTDigitizer/src/DTNeutronWriter.cc
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/gcc/15.3.1-d0029c3359733fc60a20a68217f2ee30/bin/c++ -c -DCMS_MICRO_ARCH='' -ftrack-macro-expansion=0 -DGNU_GCC -D_GNU_SOURCE -DTBB_USE_GLIBCXX_VERSION=150301 -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 -DBOOST_MPL_IGNORE_PARENTHESES_WARNING -DCMSSW_GIT_HASH='CMSSW_20_1_X_2026-09-11-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_20_1_X_2026-09-11-2300' -Isrc -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/hepmc3/3.3.1-1df6c2c7e406fc4213f0785333b4cace/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/pcre/8.43-2e7cd569f80863eb9dfcf87970bfdccd/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/boost/1.92.0-3eaf8a183df8cc77a4ce5ac549e2d0e8/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/bz2lib/1.0.8-dacdc81794eb1c23244654b096d5e8f8/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/clhep/2.4.7.2-64c40c879108baff2af8ce7d5453c293/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/gsl/2.6-811f5a148a1825735987ef4d2698696a/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/hepmc/2.06.10-2dde2ba112214420ccbbfc20899ea331/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/libuuid/2.40-c2a3b3080a707cf8c78728fbf2ac665e/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/lcg/root/6.36.15-69d8c11d03ee187fc814a0e8a1f03f75/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/tbb/v2022.3.0-51dbeb661f0bf655bf554fe6bd043fc8/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/xz/5.8.3-330fa033891c5047b20099ed7c39a049/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/zlib/1.3.2-992f3b833708f30789f7ac5c998d015e/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/zstd/1.5.7-dd41d7a96454092322dfa50efe8fefd5/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/eigen/5.0.1-a08466f2ae786748cc7d248d552f4cff/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/eigen/5.0.1-a08466f2ae786748cc7d248d552f4cff/include/eigen3 -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/md5/2.0.0-e96f5713a508a28b4e21b910decc9f17/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/OpenBLAS/0.3.27-e0dcc6346b223a5d7147ec9d1f6a4b64/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/tinyxml2/6.2.0-71c40642358afd1fc6abc610ea54c6f7/include -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++20 -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-v3 -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=unused-value -Werror=unused-result -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/el9_amd64_gcc15/src/SimMuon/DTDigitizer/src/SimMuonDTDigitizer/DTNeutronWriter.cc.d src/SimMuon/DTDigitizer/src/DTNeutronWriter.cc -o tmp/el9_amd64_gcc15/src/SimMuon/DTDigitizer/src/SimMuonDTDigitizer/DTNeutronWriter.cc.o
In file included from src/SimMuon/DTDigitizer/src/DTDriftTimeParametrization.cc:26:
src/DataFormats/DTRecHit/interface/DTDriftTimeParameters.icc: In member function 'void DTDriftTimeParametrization::MB_DT_Get_grid_values(double, short unsigned int*, short unsigned int*, short int, short unsigned int, const double*) const':
src/DataFormats/DTRecHit/interface/DTDriftTimeParameters.icc:479:3: error: comparison is always true due to limited range of data type [-Werror=type-limits]
  479 |   assert(jValue >= 0);
      |   ^~~~~~
src/DataFormats/DTRecHit/interface/DTDriftTimeParameters.icc:480:3: error: comparison is always true due to limited range of data type [-Werror=type-limits]
  480 |   assert(iValue >= 0);
      |   ^~~~~~


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.

3 participants