X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0D88384C007 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1599836368; bh=7r9xuyQsncgMNh8C5QXx9erTLSQAbRZXQg3+gj6MVIk=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Fr0c9cMpH6JXreSnKHyEt92rFJpAgHYjHotem+9XZQ9eIreeOLCO7sWZa4VnefEsc JOEI9iojoJM1hNeqYFLUUGYcnPppxGpdtnDfbyxcbcKA5S02s4vizpNvAYNGOIX1sC h9O+DlR+DJc6qapuPI4Puim/6OW3PN5oYE/1HAaU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 87BE53857C70 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dgmmoPwJoBcQ5tunvNIrSp9IhHS8S5nGMhlfNjC6RvI=; b=SlFdt2B5faf+Hq4yxUfBCC64fKckUMX9q81WcLrdsfflK/gA3xRRgW+R6anVCp8crS UkiHdH6CahIl393q2dXTHSoJ7v46AwlAm1yj0RpK0ok2iByk9bHal4B3eB9tj8QHLQi6 cSJhq+guNHFH1ve04DBPgqldO4u+Rk5G6OqZpeJXwBkAkK3lqzVI7r/ZTDI4S+zRvgCK oN1K/wC+4ZEW6bFBHkeeVuaTV2pWP6Mr0Njg7Q3Lsra8tSBeS/9GZgV/1UT4DvGRthxA gTKQWuMGwPuzQRaaEGVkJSFOH5f7NVoV0n998CAOlT/IbAdtlaA8nVmVnqxcoGSiQr4a 16hQ== X-Gm-Message-State: AOAM532+fA450itltOS8drCXJSGT+Al8tYTcM24bUv3yQuWRBt2dR284 rGjEp2Hp3fDEvgaYIss+btzlTWnhdfI= X-Google-Smtp-Source: ABdhPJxgr40Uez54nkbYtoh76tzYqTP7+YtdjI9atuE19PxCPSrXHGWPT4LCmyM7WbYlDYAo8buAUg== X-Received: by 2002:a05:6402:234a:: with SMTP id r10mr2420310eda.363.1599836365432; Fri, 11 Sep 2020 07:59:25 -0700 (PDT) Subject: Re: Setting up a proper modelling environment in Cygwin To: cygwin AT cygwin DOT com References: Message-ID: <90d505d5-11fc-418d-02e4-73dd423a92ce@gmail.com> Date: Fri, 11 Sep 2020 16:59:24 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: it X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 11.09.2020 04:37, Lawrence Bernardo via Cygwin wrote: > Dear Cygwin users and developers, > > I am trying to run some models based on the ROMS ocean modeling system. And > although I mainly run such models on Linux supercomputing systems, I > sometimes use Cygwin to make test runs. However, whenever I install Cygwin > on a new PC, I often find that my set up on an older PC I had been using > doesn't work properly. After looking deeper into the issues, it seems that > proper compilation requires that the same fortran compiler (gfortran in > this case) be used to compile the necessary components. > > And as far as I understand, these components would mainly be: > - zlib > - hdf5 > - netcdf > - netcdf-fortran > - openmpi > > As the gfortran compiler version number used for these different components > is not indicated whenever I run cygwin setup-x86_64.exe, I am left to guess > which version numbers for each to select. Of course, another option would > be to accept the defaults for some components, and then compile my own > version of say, netcdf, but this attempt almost always fails, and I'm not > sure if this is due to conflicts with the already existing cygwin setup. > > Given the issues above, would anyone have any suggestions or > recommendations on how to best achieve the setup I would like to have? I > will greatly appreciate any help. > > Best regards, > Lawrence > -- for what I am aware the problem is only present with fortran modules if you are using them. C interface are not involved zlib should not be involved as it has no fortran specific modules same for hdf5. 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 netcdf-fortran needs a rebuild $ zcat /usr/include/netcdf.mod | head -n 1 GFORTRAN module version '14' created from netcdf4.f90 Give me some days for an update of the package And I will need to re-build for test gcc 10 also, but it is less urgent Regards Marco -- 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