From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by sourceware.org (Postfix) with ESMTPS id 520EA3857C57 for ; Mon, 14 Sep 2020 02:07:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 520EA3857C57 Received: by mail-lj1-x234.google.com with SMTP id y4so17202486ljk.8 for ; Sun, 13 Sep 2020 19:07:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NzaqTwfhJxIl8DHY5FKZ+vmXEKk96HnhmF+/QHIARiw=; b=ckhZYciAPfe/8uanwt8SkrGm9PExUmmOpZb5j7tFESrFjafM8+Q3YcSwF4/V+qW9Y7 stwYVEZ+DBOYid6mdGku9nCj1nU/qWo10VphaQg9Z4FifUd7q1I46R/SPWulolcLJlUs g1rBj16oosFUZKDPqI5LnzoA2L0/H0Sf9Mi73+8sYReyyR4UtzDIA3mzuGQrwRFOeURu wsfh/Of1SV2AxEw7S2EDkRxo43gg6TgmFaRelSOMLe0VMwilf3aYsSJQsBSQcwCj4jsb 3RS+D7W3ylRKtJOyugRInn1/QK5HeZcyXhJS9ah6sMxTKJbRKqFrW+85HGJ8r9UHAFwq +XWA== X-Gm-Message-State: AOAM532D3FMn/anPhBznjvuD0tUgpTNCP2WMYammKBM+ggd/LrA4yFfE q+grEWaF8G85w8Pgasi++TLxjfVubnmWKN/DrpE= X-Google-Smtp-Source: ABdhPJxoNExlv91ZwthVMuh3dFUZph2OcwAJi9YJvcYC3SngnHFHQmYicopfRdgAsPTcJqSG1PSgrS1ZOKQlFap3HIE= X-Received: by 2002:a2e:a16e:: with SMTP id u14mr4664731ljl.464.1600049268941; Sun, 13 Sep 2020 19:07:48 -0700 (PDT) MIME-Version: 1.0 References: <90d505d5-11fc-418d-02e4-73dd423a92ce@gmail.com> In-Reply-To: <90d505d5-11fc-418d-02e4-73dd423a92ce@gmail.com> From: Lawrence Bernardo Date: Mon, 14 Sep 2020 11:07:38 +0900 Message-ID: Subject: Re: Setting up a proper modelling environment in Cygwin To: Marco Atzeri Cc: cygwin@cygwin.com X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 14 Sep 2020 02:07:52 -0000 Thank you Marco for addressing my concerns. And I think checking for the fortran module consistency will be really helpful for me to assess issues I run into in the future. I have rolled back the versions I have been using to all be based on gfortran/gcc version 7.4.0, but an update, although not urgent for now, would indeed be helpful. Lately, some other codes I've been running have been having problems with this older version, so I'll stay tuned for your updates to the package. Best regards, Lawrence On Fri, Sep 11, 2020 at 11:59 PM Marco Atzeri via Cygwin wrote: > 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 >