Skip to content

Update to C++20, spack 1.2.0 and package updates - #1912

Merged
bmhan12 merged 66 commits into
developfrom
feature/han12/c_20
Aug 3, 2026
Merged

Update to C++20, spack 1.2.0 and package updates#1912
bmhan12 merged 66 commits into
developfrom
feature/han12/c_20

Conversation

@bmhan12

@bmhan12 bmhan12 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This PR:

  • Updates default C++ standard to 20.
  • Updates blt to 0.7.2
  • Updates spack to 1.2.0
  • Updates various package versions (see versions.yaml for list of changes)
    • Note: In order to test C++20 changes with umpire/camp/raja, the versions are tied to commits off of develop/main. Once releases are done for these packages and upstreamed to spack-packages, axom should update these to release versions (these changes should also be mirrored for Windows vcpkg build).
  • Compiler updates
    • rocm 6.4.3 (same), rocm 7.2.1, cce@21.0.0 for toss 4 cray
    • cuda@13.1.1 for toss 4

Relates to #1855 (still require updated umpire/raja/camp releases)
Closes #1741

Relevant spack-packages PR:
spack/spack-packages#5791

bmhan12 and others added 30 commits July 9, 2026 15:24
Comment on lines +9 to +15
"$comment": [
"Overlay of the pinned upstream hdf5 manifest used by uberenv's in-place vcpkg ports copy.",
"Upstream hdf5 defaults are [\"szip\", \"zlib\"]. We intentionally drop \"szip\" from default-features here",
"but keep the explicit \"szip\" feature below so users can still opt in when needed.",
"This works around vcpkg pulling libaec through hdf5's default szip feature in Axom's Windows GHA builds.",
"The problem was not libaec compatibility; the relevant issue was that the libaec source download repeatedly",
"failed from its upstream archive URL with HTTP 429 in GitHub Actions, making Windows dependency bootstrap flaky."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needed to add a vcpkg.json file for hdf5, was hitting a 429 Error when trying to pull one of hdf5's dependencies.
Error was happening on this branch, as well as develop.
It doesn't look like the dependency was needed for axom, here's the Windows CI run output:
https://github.com/llnl/axom/actions/runs/30129087714

@kennyweiss kennyweiss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this comprehensive update @bmhan12 !

Comment thread scripts/spack/configs/versions.yaml Outdated
Comment on lines 23 to 25
mfem:
require:
- spec: "@4.9"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: Fixed! It turns out that we had a comment in the mfem data file used for the test, that was not supported by the reader. Fixed by removing the comment.

Comment on lines +222 to +229
using SkipTag = primal::KnotVector<double>::SkipValidityChecks;
axom::ArrayView<const double> knots_view(&kv0[0], kv0.Size());
const primal::KnotVector<double> kv(knots_view, kv0.GetOrder());
const primal::KnotVector<double> kv(knots_view, kv0.GetOrder(), SkipTag {});
if(!kv.isValid(true))
{
SLIC_WARNING(axom::fmt::format("MFEM patch {} has an invalid knot vector: {}", patchId, kv));
return MFEMReader::READ_FAILED;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rolled back the changes to MFEMReader but added this extra check against a bad knot vector in the input file.

2

controlpoints
# points (0,0), (0.5,0), (1,0) with weights (1,2,1) in homogeneous form (x*w, y*w, w)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment in an mfem mesh test file was the cause of the CUDA config failure -- the mfem reader does not support comments here!

@bmhan12
bmhan12 merged commit 9a7e570 into develop Aug 3, 2026
15 checks passed
@bmhan12
bmhan12 deleted the feature/han12/c_20 branch August 3, 2026 23:04
@kennyweiss kennyweiss mentioned this pull request Aug 17, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build system Issues related to Axom's build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the cxx standard variant in Axom's spack package

4 participants