[ET Trac] #2922: CarpetX does not compile with CUDA 12.9

Steven R. Brandt trac-noreply at einsteintoolkit.org
Thu Mar 5 10:13:04 CST 2026


#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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20260305/eba6e1b3/attachment.htm>


More information about the Trac mailing list