Hi Bruno, >From the output when I run a fresh configuration:
-- The CXX compiler identification is GNU 9.3.0 -- The C compiler identification is GNU 9.3.0 -- Check for working CXX compiler: /opt/ohpc/pub/compiler/gcc/9.3.0/bin/c++ -- Check for working CXX compiler: /opt/ohpc/pub/compiler/gcc/9.3.0/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done and then bit further down -- Include /home/ipausers/cumberworth/src/dealii-9.2.0/cmake/checks/check_01_cxx_features.cmake -- Performing Test DEAL_II_HAVE_FLAG_stdcxx17 -- Performing Test DEAL_II_HAVE_FLAG_stdcxx17 - Success -- Using C++ version flag "-std=c++17" -- Performing Test DEAL_II_HAVE_CXX17_ATTRIBUTES -- Performing Test DEAL_II_HAVE_CXX17_ATTRIBUTES - Failed -- Performing Test DEAL_II_HAVE_CXX17_IF_CONSTEXPR -- Performing Test DEAL_II_HAVE_CXX17_IF_CONSTEXPR - Success -- Performing Test DEAL_II_NON_CONSTEXPR_LAMBDA -- Performing Test DEAL_II_NON_CONSTEXPR_LAMBDA - Failed -- Performing Test DEAL_II_HAVE_FLAG_stdcxx14 -- Performing Test DEAL_II_HAVE_FLAG_stdcxx14 - Success -- Performing Test DEAL_II_HAVE_CXX14_MAKE_UNIQUE -- Performing Test DEAL_II_HAVE_CXX14_MAKE_UNIQUE - Failed -- Performing Test DEAL_II_HAVE_CXX14_CONSTEXPR_STDMAXMIN -- Performing Test DEAL_II_HAVE_CXX14_CONSTEXPR_STDMAXMIN - Failed -- Performing Test DEAL_II_HAVE_CXX14_CLANGAUTODEBUG_BUG_OK -- Performing Test DEAL_II_HAVE_CXX14_CLANGAUTODEBUG_BUG_OK - Success -- Performing Test DEAL_II_HAVE_FLAG_stdcxx11 -- Performing Test DEAL_II_HAVE_FLAG_stdcxx11 - Success -- Performing Test DEAL_II_HAVE_CXX11_FEATURES -- Performing Test DEAL_II_HAVE_CXX11_FEATURES - Failed -- Performing Test DEAL_II_HAVE_CXX11_FUNCTIONAL_LLVMBUG20084_OK -- Performing Test DEAL_II_HAVE_CXX11_FUNCTIONAL_LLVMBUG20084_OK - Failed -- Performing Test DEAL_II_HAVE_CXX11_MACOSXC99BUG_OK -- Performing Test DEAL_II_HAVE_CXX11_MACOSXC99BUG_OK - Success -- Performing Test DEAL_II_HAVE_CXX11_ICCNUMERICLIMITSBUG_OK -- Performing Test DEAL_II_HAVE_CXX11_ICCNUMERICLIMITSBUG_OK - Success -- Performing Test DEAL_II_HAVE_CXX11_ICCLIBSTDCPP47CXX11BUG_OK -- Performing Test DEAL_II_HAVE_CXX11_ICCLIBSTDCPP47CXX11BUG_OK - Success CMake Error at cmake/checks/check_01_cxx_features.cmake:472 (MESSAGE): Alex On Friday, May 21, 2021 at 7:35:16 p.m. UTC+2 bruno.t...@gmail.com wrote: > Alex, > > Can you check that deal.II pick up the right compiler? It should be > printed on your screen. You don't need to specify DEAL_II_CXX_VERSION_FLAG > when using gcc. > > Best, > > Bruno > > On Friday, May 21, 2021 at 1:03:13 PM UTC-4 alexanderc...@gmail.com wrote: > >> Hello, >> >> I am trying to compile deal.II, version 9.2, on CentOS 8.3.2011 (the last >> version). I have gcc 9.3.0, which is relatively recent. However, when I run >> cmake, I end up with the following message: >> >> The current combination of compiler and C++ version flag is missing some >> features of the C++11 version of the language necessary for compiling >> deal.II. Please ensure that the CMake variable >> DEAL_II_CXX_VERSION_FLAG is >> set to the correct flag to enable C++11 support; if it is already set >> and >> you still see this message then you will need to upgrade your compiler. >> >> I don't really see how this can be, as this version of the compiler fully >> supports C++11. I also tried setting the flag DEAL_II_CXX_VERSION_FLAG, but >> using valid standard specifiers just results in errors like "The supplied >> flag "c++11" was not recognized by the compiler." To be clear, I ran >> >> cmake .. -DDEAL_II_CXX_VERSION_FLAG=c++11 >> >> The version of cmake is 3.11.4. >> >> Any thoughts would be greatly appreciated. >> >> Alex >> > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/8e4425ff-c296-4753-8f4d-f37668306373n%40googlegroups.com.