CMake Error: Unknown argument --cxxflags=-include stdint.h #7779
Replies: 4 comments 7 replies
-
|
The Macros.make file in your case dir must contain that odd flag in the KOKKOS_OPTIONS settings. This must come from the cmake_macro/compiler_mach.cmake file. You could try to hack |
Beta Was this translation helpful? Give feedback.
-
|
Hi, thank you for your help. You are correct. In the case dir/case_scripts the Macros.make has the line However, I'm not sure I follow the rest of your suggestion. Would you mind explaining further where I can change this flag? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
What case were you trying to build and what version of the intel compiler are you using? |
Beta Was this translation helpful? Give feedback.
-
|
@pgoddard08 , try this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When I attempt to build E3SMv2.1, I am getting a build error here:
The error looks like:
I've looked at my E3SM/externals/kokkos/cmake/intel.cmake, and it looks like:
You'll notice there's a space before the
-includewhich makes me think the error message is referring to a different place where I set CXXFLAGS. But I can't find anywhere in the source code or my cime directory where the string "-include stdint.h" is used.Any help would be greatly appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions