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.



On Thu, Apr 28, 2022 at 12:16 PM Satish Balay <[email protected]> wrote:

> Hm - I don't find quadmath.h on M1
>
> compute-macos-240-02:petsc svcpetsc$ which gcc-11
> /opt/homebrew/bin/gcc-11
> compute-macos-240-02:petsc svcpetsc$ find /opt/homebrew -name quadmath.h
> -print
> compute-macos-240-02:petsc svcpetsc$
>
> But I see it on intel box
>
> compute-macos-240-01:~ balay$ which gcc-11
> /usr/local/bin/gcc-11
> compute-macos-240-01:~ balay$ find /usr/local -name quadmath.h
>
> /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/gcc/x86_64-apple-darwin21/11/include/quadmath.h
> compute-macos-240-01:~ balay$
>
>
> So perhaps this feature is missing with gcc on M1?
>
> Satish
>
> On Thu, 28 Apr 2022, Sanjay Govindjee wrote:
>
> > I'm trying to set up some computations in quad precision on a
> > new Mac (OS 12.3.1, M1 2020) and my homebrew gfortran (11.3.0) is
> complaining
> > about real (kind=16).  In fact selected_real_kind(30,300) returns -1.
> >
> > Has anyone else encountered this issue? and have a work around?
> >
> >
>

Reply via email to