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

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.

4 participants