<div dir="ltr">Informational update on this thread, quadmath looks like it is now available on the M1 with the release of (homebrew) GCC 11.3 and GCC@12.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 28, 2022 at 12:16 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hm - I don't find quadmath.h on M1<br>
<br>
compute-macos-240-02:petsc svcpetsc$ which gcc-11<br>
/opt/homebrew/bin/gcc-11<br>
compute-macos-240-02:petsc svcpetsc$ find /opt/homebrew -name quadmath.h -print<br>
compute-macos-240-02:petsc svcpetsc$ <br>
<br>
But I see it on intel box<br>
<br>
compute-macos-240-01:~ balay$ which gcc-11<br>
/usr/local/bin/gcc-11<br>
compute-macos-240-01:~ balay$ find /usr/local -name quadmath.h<br>
/usr/local/Cellar/gcc/11.3.0/lib/gcc/11/gcc/x86_64-apple-darwin21/11/include/quadmath.h<br>
compute-macos-240-01:~ balay$ <br>
<br>
<br>
So perhaps this feature is missing with gcc on M1?<br>
<br>
Satish<br>
<br>
On Thu, 28 Apr 2022, Sanjay Govindjee wrote:<br>
<br>
> I'm trying to set up some computations in quad precision on a<br>
> new Mac (OS 12.3.1, M1 2020) and my homebrew gfortran (11.3.0) is complaining<br>
> about real (kind=16).  In fact selected_real_kind(30,300) returns -1.<br>
> <br>
> Has anyone else encountered this issue? and have a work around?<br>
> <br>
> <br>
</blockquote></div>