From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp001-out.apm-internet.net (smtp001-out.apm-internet.net [85.119.248.222]) by sourceware.org (Postfix) with ESMTPS id 070CC3858C50 for ; Sat, 22 Jul 2023 19:14:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 070CC3858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sandoe.co.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sandoe.co.uk Received: (qmail 24698 invoked from network); 22 Jul 2023 19:14:09 -0000 X-APM-Out-ID: 16900532492469 X-APM-Authkey: 257869/1(257869/1) 8 Received: from unknown (HELO smtpclient.apple) (81.138.1.83) by smtp001.apm-internet.net with SMTP; 22 Jul 2023 19:14:09 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: What .dylib files does gfortran v 11.2.0 need on a Mac? From: Iain Sandoe In-Reply-To: Date: Sat, 22 Jul 2023 20:14:09 +0100 Cc: GCC Fortran Content-Transfer-Encoding: quoted-printable Message-Id: <040FC6F8-CA4D-4ECB-B712-E51238F794EC@sandoe.co.uk> References: <6702C866-B84E-49C5-B52D-2B13E6B61353@sandoe.co.uk> To: Leigh House X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,KAM_COUK,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Leigh, > On 22 Jul 2023, at 20:05, Leigh House wrote: >=20 > Thanks for your fast reply! >=20 > My Mac is an intel iMac from 2019.=20 That should be fine with =E2=80=9Cupstream=E2=80=9D sources, should you = decide to build from source (but that should not be necessary, there are = several places providing gfortran for mac). > I didn=E2=80=99t keep detailed notes about where I got the compiler = package, though I=E2=80=99ve often gone to hpc.sourceforge.net in the = past, under =E2=80=9CComputation Tools=E2=80=9D. I suspect that is where = I got my current compiler from.=20 >=20 > And I didn=E2=80=99t keep notes about which .dylib file I had to find = and copy into /usr/local/lib, though from a colleague=E2=80=99s = experience it may have been libgfortran.5.dylib. I checked the version(s) for which the initialization bug is fixed: GCC-10.4 GCC-11.3 <<- so you are almost certainly seeing it with 11.2. GCC-12.1 GCC-13.1 (and current development =E2=80=99trunk=E2=80=99). This was a very unusual case - we try to be backward compatible as much = as possible, but the change was out of our hands. So, I=E2=80=99d recommend that you see if your =E2=80=9Cusual source=E2=80= =9D has an update - or, alternately, go to one of the =E2=80=98OSS = distributions=E2=80=99 like Homebrew. HTH, Iain