[petsc-users] Quad precision

Sanjay GOVINDJEE s_g at berkeley.edu
Sun May 22 15:46:04 CDT 2022


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 at 12.



On Thu, Apr 28, 2022 at 12:16 PM Satish Balay <balay at mcs.anl.gov> 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?
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220522/46075d7b/attachment-0001.html>


More information about the petsc-users mailing list