#2922: CarpetX does not compile with CUDA 12.9
| Reporter: | Steven R. Brandt |
| Status: | new |
| Milestone: | ET_2026_05 |
| Version: | |
| Type: | bug |
| Priority: | major |
| Component: | CarpetX |
Here is the output of nvcc:
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2025 NVIDIA Corporation
Built on Tue_May_27_02:21:03_PDT_2025
Cuda compilation tools, release 12.9, V12.9.86
Build cuda_12.9.r12.9/compiler.36037853_0
The problem is that in io_openpmd.hxx, two calls to any() cannot be properly resolved. I made various attempts to coerce the compiler to use the right any, but all of them failed.
The branch hack/vect_any that gets around the problem, but I didn't make it a PR because i don't think this is how we want to handle the issue.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2922/carpetx-does-not-compile-with-cuda-129