Skip to content
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

[GCC13] Patch applied for c++20 #9295

Merged
merged 2 commits into from
Jul 12, 2024
Merged

[GCC13] Patch applied for c++20 #9295

merged 2 commits into from
Jul 12, 2024

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented Jul 11, 2024

We can not move to GCC 13.3.0 yet as cuda does not support it ( see #9270 ). This PR proposes to apply gcc-mirror/gcc@96482ff which is needed to avoid build errors with c++20 standard

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar for branch IB/CMSSW_14_1_X/g13.

@aandvalenzuela, @cmsbuild, @iarspider, @smuzaffar can you please review it and eventually sign? Thanks.
@antoniovilela, @rappoccio, @sextonkennedy you are the release manager for this.
cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 11, 2024

cms-bot internal usage

@smuzaffar
Copy link
Contributor Author

test parameters:

  • full_cmssw = true

@smuzaffar
Copy link
Contributor Author

please test with #9288 for el9_amd64_gcc13

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-612516/40337/summary.html
COMMIT: 8917471
CMSSW: CMSSW_14_1_X_2024-07-05-2300/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/9295/40337/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-612516/40337/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-612516/40337/git-merge-result

Build

I found compilation error when building:

    inlined from 'ndLoopImpl' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5c60ee703be9eb3e5e623403758d8410/include/alpaka/meta/NdLoop.hpp:25:14,
    inlined from 'ndLoopImpl' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5c60ee703be9eb3e5e623403758d8410/include/alpaka/meta/NdLoop.hpp:44:27,
    inlined from 'ndLoop' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5c60ee703be9eb3e5e623403758d8410/include/alpaka/meta/NdLoop.hpp:71:27,
    inlined from 'ndLoopIncIdx' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5c60ee703be9eb3e5e623403758d8410/include/alpaka/meta/NdLoop.hpp:83:15,
    inlined from 'operator()' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5c60ee703be9eb3e5e623403758d8410/include/alpaka/kernel/TaskKernelCpuSerial.hpp:86:31:
src/HeterogeneousCore/AlpakaInterface/interface/FlexiStorage.h:15:60: error: array subscript 262145 is above array bounds of 'const unsigned int[262145]' [-Werror=array-bounds=]
   15 |     constexpr const I& operator[](int i) const { return m_v[i]; }
      |                                                            ^
src/HeterogeneousCore/AlpakaInterface/interface/FlexiStorage.h: In member function 'operator()':
src/HeterogeneousCore/AlpakaInterface/interface/FlexiStorage.h:21:7: note: while referencing 'm_v'
   21 |     I m_v[S];


@smuzaffar
Copy link
Contributor Author

+externals

lets get this in for c++20

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IB/CMSSW_14_1_X/g13 IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@smuzaffar smuzaffar merged commit 1f500cb into IB/CMSSW_14_1_X/g13 Jul 12, 2024
1 check was pending
@cmsbuild
Copy link
Contributor

Pull request #9295 was updated.

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-612516/40357/summary.html
COMMIT: 603181f
CMSSW: CMSSW_14_1_X_2024-07-05-2300/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmsdist/9295/40357/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-612516/40357/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-612516/40357/git-merge-result

Build

I found compilation error when building:

    inlined from 'ndLoopImpl' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5ac77778df5c635a47f96d0942a6db3a/include/alpaka/meta/NdLoop.hpp:25:14,
    inlined from 'ndLoopImpl' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5ac77778df5c635a47f96d0942a6db3a/include/alpaka/meta/NdLoop.hpp:44:27,
    inlined from 'ndLoop' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5ac77778df5c635a47f96d0942a6db3a/include/alpaka/meta/NdLoop.hpp:71:27,
    inlined from 'ndLoopIncIdx' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5ac77778df5c635a47f96d0942a6db3a/include/alpaka/meta/NdLoop.hpp:83:15,
    inlined from 'operator()' at /data/cmsbld/jenkins/workspace/ib-run-pr-tests/testBuildDir/el9_amd64_gcc13/external/alpaka/1.1.0-5ac77778df5c635a47f96d0942a6db3a/include/alpaka/kernel/TaskKernelCpuSerial.hpp:86:31:
src/HeterogeneousCore/AlpakaInterface/interface/FlexiStorage.h:15:60: error: array subscript 262145 is above array bounds of 'const unsigned int[262145]' [-Werror=array-bounds=]
   15 |     constexpr const I& operator[](int i) const { return m_v[i]; }
      |                                                            ^
src/HeterogeneousCore/AlpakaInterface/interface/FlexiStorage.h: In member function 'operator()':
src/HeterogeneousCore/AlpakaInterface/interface/FlexiStorage.h:21:7: note: while referencing 'm_v'
   21 |     I m_v[S];


@smuzaffar smuzaffar deleted the cpp20-gcc13 branch July 26, 2024 08:58
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.

2 participants