Skip to content

updates for debug and special stdcxx override for packages - #2793

Merged
smuzaffar merged 5 commits into
masterfrom
torch-stdcpp20
Jun 24, 2026
Merged

updates for debug and special stdcxx override for packages#2793
smuzaffar merged 5 commits into
masterfrom
torch-stdcpp20

Conversation

@smuzaffar

@smuzaffar smuzaffar commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@cmsbuild

Copy link
Copy Markdown
Contributor

A new Pull Request was created by @smuzaffar for branch master.

@akritkbehera, @cmsbuild, @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 Jun 19, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #2793 was updated.

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #2793 was updated.

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #2793 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test with cms-sw/cmsdist#10666 for el9_amd64_gcc15

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc91a/54105/summary.html
COMMIT: 9cf6b0f
CMSSW: CMSSW_20_1_X_2026-06-18-2300/el9_amd64_gcc15
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cms-bot/2793/54105/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed External Build

I found compilation error when building:

Done. Setup log can be found in /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/bootstrap.log.
FATAL: malformed spec found while quering it. Command: 
source /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/rpm-env.sh ;  rpm -q --specfile /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/tmpspec-gcc --info --define "cmsdist_directory /data/cmsbld/jenkins/workspace/ib-run-pr-tests/cmsdist" --define "compilerv 1531" --define "cmscompilerv 15" --define "cmsos el9_amd64" --define "__bootstrap ~bootstrap" --define "almalinux_ver 9" --define "almalinux 9" --define "centos_ver 9" --define "centos 9" --define "rhel 9" --define "dist %{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el9%{?with_bootstrap:~bootstrap}" --define "el9 1" --define "dist_vendor         AlmaLinux OS Foundation" --define "dist_name           AlmaLinux" --define "dist_home_url       https://almalinux.org/" --define "dist_bug_report_url https://bugs.almalinux.org/" --define "package_vectorization x86-64-v2" --define "cmsswdata_version_link 1" --define "'cms_override_standard py3-torch@20,py3-torch-cuda@20,py3-torch-rocm@20'" --define "archfirst yes" --define "cmsBuild_bootstrap 1" --define 'buildroot /foo'
Resulted in:

error: Macro % has illegal name (%define)
Traceback (most recent call last):
  File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/./pkgtools/cmsBuild", line 5304, in 
    build(opts, args[1:], PKGFactory)
  File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/./pkgtools/cmsBuild", line 4475, in build
    packages = [factory.createWithSpec(pkgName) for pkgName in args]


@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #2793 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test with cms-sw/cmsdist#10666 for el9_amd64_gcc15

@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc91a/54119/summary.html
COMMIT: 7076284
CMSSW: CMSSW_20_1_X_2026-06-18-2300/el9_amd64_gcc15
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cms-bot/2793/54119/install.sh to create a dev area with all the needed externals and cmssw changes.

Failed External Build

I found compilation error when building:

cwd: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/BUILD/el9_amd64_gcc15/external/py3-pyg-lib-cuda/0.6.0-dfb40adc313289ef1ca218b5c150a474/external_py3-pyg-lib-cuda_0.6.0-dfb40adc313289ef1ca218b5c150a474-1-build/cmsdist-pip-src/py3-pyg-lib-cuda-0.6.0
Building wheel for pyg_lib (pyproject.toml): finished with status 'error'
ERROR: Failed building wheel for pyg_lib
Failed to build pyg_lib
ERROR: Failed to build one or more wheels
error: Bad exit status from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/tmp/rpm-tmp.efCGLu (%build)

RPM build warnings:
Macro expanded in comment on line 661: %{pkginstroot}/bin/*

Macro expanded in comment on line 666: %{pkginstroot}/${PYTHON3_LIB_SITE_PACKAGES}


@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #2793 was updated.

@smuzaffar

Copy link
Copy Markdown
Contributor Author

please test with cms-sw/cmsdist#10666 using full cmssw for 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-dbc91a/54131/summary.html
COMMIT: 35ec197
CMSSW: CMSSW_20_1_X_2026-06-18-2300/el9_amd64_gcc15
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cms-bot/2793/54131/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-dbc91a/54131/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc91a/54131/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='x86-64-v3' -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-06-18-2300' -DPROJECT_NAME='CMSSW' -DPROJECT_VERSION='CMSSW_20_1_X_2026-06-18-2300' -DCMSSW_CUDA_IS_AVAILABLE -Isrc -Ipoison -I/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02946/el9_amd64_gcc15/cms/cmssw/CMSSW_20_1_X_2026-06-18-2300/src -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/onnxruntime/1.26.0-d3311902470a580ffe9dbc3959f045cc/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cudnn/9.23.0.39-5a144f08cf1280717420730aab3c4e36/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.91.0-f10d1f9971ff62ac0886e4b1d180760e/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/bz2lib/1.0.8-dacdc81794eb1c23244654b096d5e8f8/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cppunit/1.15.x-081381717bd0b64e56504613a9ce28a8/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/libuuid/2.40-c2a3b3080a707cf8c78728fbf2ac665e/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/protobuf/3.21.9-c46125f8d5cc84c27d465639b064a37f/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/lcg/root/6.36.13-eaeac3e70a7b5da5325afab40eaefb32/include -isystem/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/tbb/v2022.3.0-f17ba38e207611653d23d57fc82dda31/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/xz/5.6.4-b14670493efeb6e4b6272b668fa44b59/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/cuda/13.3.0-f776659a3999974309daf53af5ff4914/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/md5/1.0.0-0be1dd40a21181c3fdb3ab5d2442cd2a/include -I/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/re2/2021-06-01-aede4cc69b27912315cf7e45d4afa5f4/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++23 -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 -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/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testRunner.cpp.d src/PhysicsTools/ONNXRuntime/test/testRunner.cpp -o tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testRunner.cpp.o
>> Building binary testONNXRuntime
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/gcc/15.3.1-d0029c3359733fc60a20a68217f2ee30/bin/c++ -O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++23 -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 -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto=auto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -fPIC  tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testONNXRuntime.cc.o tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testRunner.cpp.o -Wl,-E -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,noexecstack -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/biglib/el9_amd64_gcc15 -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/lib/el9_amd64_gcc15 -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/external/el9_amd64_gcc15/lib -L/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02946/el9_amd64_gcc15/cms/cmssw/CMSSW_20_1_X_2026-06-18-2300/biglib/el9_amd64_gcc15 -L/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02946/el9_amd64_gcc15/cms/cmssw/CMSSW_20_1_X_2026-06-18-2300/lib/el9_amd64_gcc15 -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cuda/13.3.0-f776659a3999974309daf53af5ff4914/lib64/stubs -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cuda/13.3.0-f776659a3999974309daf53af5ff4914/lib64 -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/static/el9_amd64_gcc15 -L/cvmfs/cms-ib.cern.ch/sw/x86_64/nweek-02946/el9_amd64_gcc15/cms/cmssw/CMSSW_20_1_X_2026-06-18-2300/static/el9_amd64_gcc15 -lFWCoreParameterSet -lFWCoreMessageLogger -lDataFormatsProvenance -lFWCorePluginManager -lFWCoreReflection -lPhysicsToolsONNXRuntime -lFWCoreUtilities -lonnxruntime -lcudnn -lCore -lboost_thread -lboost_date_time -lcudart -lcudadevrt -lpcre -lbz2 -lcppunit -lcuda -luuid -lprotobuf -ltbb -llzma -lz -lcms-md5 -lre2 -lcrypt -ldl -lrt -ltinyxml2 -o tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testONNXRuntime
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/gcc/15.3.1-d0029c3359733fc60a20a68217f2ee30/x86_64-vendor-linux/bin/ld.bfd: tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/ccI31ukE.ltrans0.ltrans.o: in function `testONNXRuntime::checkGPU()':
:(.text+0x19fd): undefined reference to `cms::cudatest::testDevices()'
collect2: error: ld returned 1 exit status
>> Deleted: tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testONNXRuntime
gmake: *** [tmp/el9_amd64_gcc15/src/PhysicsTools/ONNXRuntime/test/testONNXRuntime/testONNXRuntime] Error 1
>> Leaving Package PhysicsTools/ONNXRuntime
>> Package PhysicsTools/ONNXRuntime built
>> Entering Package PhysicsTools/PyTorchAlpaka


@cmsbuild

Copy link
Copy Markdown
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc91a/54139/summary.html
COMMIT: 35ec197
CMSSW: CMSSW_20_1_X_2026-06-18-2300/el9_amd64_gcc15
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cms-bot/2793/54139/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-dbc91a/54139/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc91a/54139/git-merge-result

Failed Build

I found compilation error when building:

      return static_cast(random_float_impl::run(numRandomBits));
                         ^

Error: Internal Compiler Error (codegen): "unsupported float variant!"

gmake: *** [tmp/el9_amd64_gcc15/src/RecoParticleFlow/PFClusterProducer/test/EpilogueTest_cooperativeCudaAsync/alpaka/EpilogueTest.dev.cc.o] Error 1
>> Cuda Device Link tmp/el9_amd64_gcc15/src/RecoParticleFlow/PFClusterProducer/test/EpilogueTest_cooperativeCudaAsync/EpilogueTest_cooperativeCudaAsync_cudadlink.o 
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cuda/13.3.0-f776659a3999974309daf53af5ff4914/bin/nvcc -dlink -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/static/el9_amd64_gcc15  -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/biglib/el9_amd64_gcc15 -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/lib/el9_amd64_gcc15 -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_20_1_X_2026-06-18-2300/external/el9_amd64_gcc15/lib -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cuda/13.3.0-f776659a3999974309daf53af5ff4914/lib64/stubs -L/data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc15/external/cuda/13.3.0-f776659a3999974309daf53af5ff4914/lib64 -lcudadevrt --diag-suppress 20014 -DALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT=128 -DALPAKA_DISABLE_VENDOR_RNG -DALPAKA_HAS_STD_ATOMIC_REF -std=c++23 -O3 --generate-line-info --source-in-ptx --display-error-number --expt-relaxed-constexpr --extended-lambda --static-global-template-stub=true --device-entity-has-hidden-visibility=true -gencode arch=compute_75,code=[sm_75,compute_75] -gencode arch=compute_80,code=[sm_80,compute_80] -gencode arch=compute_89,code=[sm_89,compute_89] -gencode arch=compute_90,code=[sm_90,compute_90] -gencode arch=compute_100,code=[sm_100,compute_100] -gencode arch=compute_120,code=[sm_120,compute_120] -Wno-deprecated-gpu-targets -diag-suppress=3012 -diag-suppress=3189 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -Xcudafe --gnu_version=150300 --cudart shared -DALPAKA_ACC_GPU_CUDA_ENABLED -DALPAKA_ACC_GPU_CUDA_ONLY_MODE -UALPAKA_HOST_ONLY --compiler-options '-O3 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -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 -ftls-model=global-dynamic -pthread -DALPAKA_ACC_GPU_CUDA_ENABLED -DALPAKA_ACC_GPU_CUDA_ONLY_MODE -DALPAKA_HOST_ONLY -DBOOST_DISABLE_ASSERTS  -std=c++23 -march=x86-64-v2 -fPIC ' tmp/el9_amd64_gcc15/src/RecoParticleFlow/PFClusterProducer/test/EpilogueTest_cooperativeCudaAsync/alpaka/EpilogueTest.dev.cc.o -o tmp/el9_amd64_gcc15/src/RecoParticleFlow/PFClusterProducer/test/EpilogueTest_cooperativeCudaAsync/EpilogueTest_cooperativeCudaAsync_cudadlink.o
nvlink fatal   : Could not open input file 'tmp/el9_amd64_gcc15/src/RecoParticleFlow/PFClusterProducer/test/EpilogueTest_cooperativeCudaAsync/alpaka/EpilogueTest.dev.cc.o' (target: sm_75)
gmake: *** [tmp/el9_amd64_gcc15/src/RecoParticleFlow/PFClusterProducer/test/EpilogueTest_cooperativeCudaAsync/EpilogueTest_cooperativeCudaAsync_cudadlink.o] Error 1
>> Building alpaka/cuda binary EpilogueTest_cooperativeCudaAsync


@smuzaffar

Copy link
Copy Markdown
Contributor Author

@fwyzard , cmssw also generates ICE with cuda 13.3.0 and c++23

@smuzaffar smuzaffar changed the title use std=c++20 for pytorch packages updates for debug and special stdcxx override for packages Jun 24, 2026
@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #2793 was updated.

@smuzaffar
smuzaffar merged commit 76b9f00 into master Jun 24, 2026
2 of 3 checks passed
@fwyzard

fwyzard commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@fwyzard , cmssw also generates ICE with cuda 13.3.0 and c++23

I haven't had time to look into this yet... is it enough to change the standard from c++20 to c++23 and rebuild ?

@smuzaffar

Copy link
Copy Markdown
Contributor Author

@fwyzard , cmssw also generates ICE with cuda 13.3.0 and c++23

I haven't had time to look into this yet... is it enough to change the standard from c++20 to c++23 and rebuild ?

you mean change standard from c++23 to c++20 for cmssw too?

Just to recap, cuda 13.3.0 generates ICE for torch , pyg-lib and cmssw when we use c++23. Test in #2793 (comment) were done with building torch and pyg-lib with c++20 while the rest of the software stack was build with c++23 (including cmssw).

@smuzaffar
smuzaffar deleted the torch-stdcpp20 branch July 3, 2026 13:51
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