> On 5 Jan 2023, at 7:06 PM, Matthew Knepley <[email protected]> wrote: > > On Thu, Jan 5, 2023 at 11:36 AM Alfredo Jaramillo <[email protected] > <mailto:[email protected]>> wrote: >> Dear developers, >> I'm trying to compile petsc together with the HPDDM library. A series on >> errors appeared: >> >> /home/ajaramillo/petsc/x64-openmpi-aldaas2021/include/HPDDM_specifications.hpp: >> In static member function ‘static constexpr __float128 >> std::numeric_limits<__float128>::min()’: >> /home/ajaramillo/petsc/x64-openmpi-aldaas2021/include/HPDDM_specifications.hpp:54:57: >> error: unable to find numeric literal operator ‘operator""Q’ >> 54 | static constexpr __float128 min() noexcept { return FLT128_MIN; } >> >> I'm attaching the log files to this email. > > Pierre, > > It looks like we may need to test for FLT_MIN and FLT_MAX in configure since > it looks like Alfredo's headers do not have them. > Is this correct?
We could do that, but I bet this is a side effect of the fact that Alfredo is using --with-cxx-dialect=C++11. Alfredo, did you got that flag from someone else’s configure, or do you know what that flag is doing? - If yes, do you really need to stick to -std=c++11? - If no, please look at https://gitlab.com/petsc/petsc/-/issues/1284#note_1173803107 and consider removing that flag, or at least changing the option to --with-cxx-dialect=11. If compilation still fails, please send the up-to-date configure.log/make.log Thanks, Pierre > Thanks, > > Matt > >> Could you please help me with this? >> >> bests regards >> Alfredo > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener > > https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
