<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On 5 Jan 2023, at 7:06 PM, Matthew Knepley <knepley@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr">On Thu, Jan 5, 2023 at 11:36 AM Alfredo Jaramillo <<a href="mailto:ajaramillopalma@gmail.com">ajaramillopalma@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear developers,</div><div>I'm trying to compile petsc together with the HPDDM library. A series on errors appeared:</div><div><br></div><div>/home/ajaramillo/petsc/x64-openmpi-aldaas2021/include/HPDDM_specifications.hpp: In static member function ‘static constexpr __float128 std::numeric_limits<__float128>::min()’:<br>/home/ajaramillo/petsc/x64-openmpi-aldaas2021/include/HPDDM_specifications.hpp:54:57: error: unable to find numeric literal operator ‘operator""Q’<br> 54 | static constexpr __float128 min() noexcept { return FLT128_MIN; }</div><div><br></div><div>I'm attaching the log files to this email.</div></div></blockquote><div><br></div><div>Pierre,</div><div><br></div><div>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.</div><div>Is this correct?</div></div></div></div></blockquote><div><br></div><div>We could do that, but I bet this is a side effect of the fact that Alfredo is using --with-cxx-dialect=C++11.</div><div>Alfredo, did you got that flag from someone else’s configure, or do you know what that flag is doing?</div><div>- If yes, do you really need to stick to -std=c++11?</div><div>- If no, please look at <a href="https://gitlab.com/petsc/petsc/-/issues/1284#note_1173803107">https://gitlab.com/petsc/petsc/-/issues/1284#note_1173803107</a> 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</div><div><br></div><div>Thanks,</div><div>Pierre</div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Could you please help me with this?</div><div><br></div><div>bests regards</div><div>Alfredo<br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>
</div></blockquote></div><br></body></html>