From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out.cybermesa.com (mx.cybermesa.com [65.19.2.50]) by sourceware.org (Postfix) with ESMTPS id 15C3B3858D1E for ; Sat, 22 Jul 2023 22:26:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 15C3B3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=newmexico.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=newmexico.com Received: from smtpclient.apple (unknown [65.144.169.43]) (Authenticated sender: hagar) by smtp-out.cybermesa.com (Postfix) with ESMTPSA id 499EC413F1; Sat, 22 Jul 2023 16:25:58 -0600 (MDT) 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: Leigh House In-Reply-To: <040FC6F8-CA4D-4ECB-B712-E51238F794EC@sandoe.co.uk> Date: Sat, 22 Jul 2023 16:25:45 -0600 Cc: GCC Fortran Content-Transfer-Encoding: quoted-printable Message-Id: <7E0775F0-572A-4ADC-926A-2C759A18C2B9@newmexico.com> References: <6702C866-B84E-49C5-B52D-2B13E6B61353@sandoe.co.uk> <040FC6F8-CA4D-4ECB-B712-E51238F794EC@sandoe.co.uk> To: Iain Sandoe X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Iain, Thanks once again for your quick reply.=20 This problem, which at first seemed simple, has gotten a bit more = complicated, and consumed a huge amount of my head-scratching and time. = Your help should get me to the solution quickly now. The only versions = that my usual source has that are on your list of having the = initialization bug fixed seem to be for Macs with the Apple M1 or M2 = chip. So I=E2=80=99ll look elsewhere for this fix.=20 Once again, thank you very much! Leigh > On Jul 22, 2023, at 1:14 PM, Iain Sandoe wrote: >=20 > Hi Leigh, >=20 >> On 22 Jul 2023, at 20:05, Leigh House wrote: >>=20 >=20 >> Thanks for your fast reply! >>=20 >> My Mac is an intel iMac from 2019.=20 >=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). >=20 >> 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. >=20 > I checked the version(s) for which the initialization bug is fixed: >=20 > 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). >=20 > This was a very unusual case - we try to be backward compatible as = much as possible, but the change was out of our hands. >=20 > 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=98= OSS distributions=E2=80=99 like Homebrew. >=20 > HTH, > Iain >=20 >=20