Skip to content

Conversation

@kab163
Copy link
Collaborator

@kab163 kab163 commented Dec 18, 2025

No description provided.

@kab163
Copy link
Collaborator Author

kab163 commented Dec 19, 2025

It seems there are some C++20 compatibility issues in the current version of fmt, so will see how updating to 11.1.0 works

@adayton1
Copy link
Member

It seems there are some C++20 compatibility issues in the current version of fmt, so will see how updating to 11.1.0 works

I would suggest updating to 12.1.0.

@kab163
Copy link
Collaborator Author

kab163 commented Dec 19, 2025

On matrix, these commands work:
$ ml cmake/3.30.5
$ ml cuda/12.9.1
$ ml clang/19.1.3-magic
$ cmake -DENABLE_CUDA=On -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CUDA_ARCHITECTURES=90 -DBLT_CXX_STD=c++20 -DENABLE_OPENMP=On -DCUDA_TOOLKIT_ROOT_DIR=/usr/tce/packages/cuda/cuda-12.9.1 -DCMAKE_CUDA_COMPILER=/usr/tce/packages/cuda/cuda-12.9.1/bin/nvcc ../

So to make C++20 work, we need an updated default cmake version - at least 3.25+
cmake/3.25.2 + cuda/12.2.2 + clang/14.0.6 also works

@kab163 kab163 marked this pull request as ready for review January 28, 2026 16:44
@kab163
Copy link
Collaborator Author

kab163 commented Jan 28, 2026

Waiting until after the Feb 3rd RAJA discussion (regarding C++20) for merging....
Will merge when ready!

@rhornung67
Copy link
Member

Waiting until after the Feb 3rd RAJA discussion (regarding C++20) for merging....

@kab163 I think our plan is to require C++20 for the next RAJA Suite release (mid-summer) and we currently test with it. So go ahead and merge as you wish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants