New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build with CUDA enabled and C++17 #11013
Comments
Hmmm... I can't quite reproduce. Configuring with
The only place I could think of that adds a dealii/cmake/checks/check_01_cxx_features.cmake Lines 307 to 312 in b956691
|
Thanks that's true it works with |
Fair enough. Still, if I set
|
That's so strange. I tried two different versions of CMake (3.17 and 3.18) but I always get the same problem. |
@Rombur Is this still an issue? |
I haven't tried in a while but since we are moving to Kokkos anyway this is irrelevant. I'm closing |
Hey all,
I can't compile the library with CUDA enabled and C++17. Somehow it looks like we inject
-std=c++14
in the cuda flags andnvcc
does not like to have both c++14 and c++17. Unfortunately, I can't find where the-std=c++14
flag is added. You can see in the detailed.log that the CUDA flags are correct:but the CUDA flags that are used are different (from source/lac/CMakeFiles/obj_lac_debug.dir/flags.make)
I obviously tried to grep for
-std=c++14
but I couldn't find it. Looking at this I would expect-G
to be the last flag. Any idea how to debug this?The text was updated successfully, but these errors were encountered: