From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx011.vodafonemail.xion.oxcs.net (vsmx011.vodafonemail.xion.oxcs.net [153.92.174.89]) by sourceware.org (Postfix) with ESMTPS id EA1AE386EC3E for ; Sat, 12 Sep 2020 09:30:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA1AE386EC3E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id BBB4059D426 for ; Sat, 12 Sep 2020 09:29:59 +0000 (UTC) Received: from Gertrud (unknown [84.160.193.16]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 91CCE539ADC for ; Sat, 12 Sep 2020 09:29:57 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Setting up a proper modelling environment in Cygwin References: <90d505d5-11fc-418d-02e4-73dd423a92ce@gmail.com> Date: Sat, 12 Sep 2020 11:29:57 +0200 In-Reply-To: <90d505d5-11fc-418d-02e4-73dd423a92ce@gmail.com> (Marco Atzeri via Cygwin's message of "Fri, 11 Sep 2020 16:59:24 +0200") Message-ID: <87tuw3wdey.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 09:30:02 -0000 Marco Atzeri via Cygwin writes: > On 11.09.2020 04:37, Lawrence Bernardo via Cygwin wrote: > for what I am aware the problem is only present with > fortran modules if you are using them. > Now the current gfortran has > > $ zcat > /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/finclude/ieee_arithmetic.mod|head > -n 1 > GFORTRAN module version '15' created from ieee_arithmetic.F90 > > openmpi was built with last gcc so it is aligned > > $ zcat /usr/lib/mpi.mod |head -n 1 > GFORTRAN module version '15' created from mpi-ignore-tkr.F90 If these are dependent on the compiler version / module ABI version, then they should be moved to some version dependent directory, then. I have no idea yet how to name that. The Linux distributions I've looked at have a very complicated folder structure that caters to the HPC folks that want multiple parallel installed versions. With gcc10 the gfortran package will provide "gfm15" and that number will be incremented in lockstep with the Fortran module version so that setup can figure out if things match. In order for this to work any packages delivering Fortran modules would need to have a manual require on that. > netcdf-fortran needs a rebuild > > $ zcat /usr/include/netcdf.mod | head -n 1 > GFORTRAN module version '14' created from netcdf4.f90 Certainly none of these files should live in /usr/include. These seem to be the only two packages in the distribution that provide Fortran modules, so the impact is currently limited. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds