X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 AT nexgo DOT de From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Setting up a proper modelling environment in Cygwin References: <90d505d5-11fc-418d-02e4-73dd423a92ce AT gmail DOT 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 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 AT cygwin DOT 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple