delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/13/22:01:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6ADF03850409
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1600048837;
bh=yjslDwPP7SKwMIQMX0ysnosaOHy9g+gvbZWzEwNM2cc=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=Vrxwc7zfkMt3YEMyKeiftydr2won1oNBw3dTk3v6NH1hs9fogPNXIXqLtLmq/Rdkj
TzMZRSdfJb27X42C7BGfeXC3UbwAX+vG7ko3aytyee0z7dNuAsvrlc1grz5mRYAgMR
56OpnZSbj4i+vNK0L+ZbSK8fhLwmdgs2AnFCoCt4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3C00E3857C57
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=EjZPnuI9jgT2NvGIzcL0QcmY+vlC2N4VMWFy+7LFf2w=;
b=kgq07Fn3AxQG0Ip9Qx0AkRGE4s+GsSqgR2yDrkwAiu21f6k73JOruDPb8R8Smh9nWs
GotwcIHZzMIwCtIm37FtflIPXa4GHGROAR/SygDFSb5lS/x+r4DNtqObmVGyejGCTM/O
0c7W0pf31LNvBZMhW2QQO8ggp47ZSOV+0U1yOwugy9KEiOXiwp+vImEc+M0ePmAEu+Qf
VMBENqBRHq5SIFZWEyECbdNqx+aI4w0SQ0krzncxneQ0oe7WO4C8Jliz19tD+u/5XCY0
3D7zKrvnaMYdOb4xXcC/1Q7eHtyBr8OfMlMRt1P4P8UPAMRuzXKrf3V+e7anDX+Lk/nn
9J0A==
X-Gm-Message-State: AOAM532CNhjxSLxVSxG12VeaLnmkDHVaIq34Yz8GEf8ooxXOoa8g8vLA
BQ0NANNjWXHJ0FnuQ6DUaCMJSMCKB27Ue2RHC+I=
X-Google-Smtp-Source: ABdhPJwXtoE5SzOspW0Ma/UstCoirvlYACnBr+EZtwcXHZqMW2pifpiDoMDvFYZn0wVXmMA1T1btGVpHQiBeqbTfQ+s=
X-Received: by 2002:ac2:48a2:: with SMTP id u2mr3852065lfg.391.1600048832976;
Sun, 13 Sep 2020 19:00:32 -0700 (PDT)
MIME-Version: 1.0
References: <CAOt=qgmQZ2a7u5ZwM3p7twFMc5F44sO9eLX1aOTtLZCO2Q1_1w AT mail DOT gmail DOT com>
<7ea73c16-538d-5f53-dce9-95dc41be0778 AT cs DOT umass DOT edu>
In-Reply-To: <7ea73c16-538d-5f53-dce9-95dc41be0778@cs.umass.edu>
Date: Mon, 14 Sep 2020 11:00:22 +0900
Message-ID: <CAOt=qgkdm-Uebzr70HjXcNP59Tk+nFjNBjAGwVgsDJUBRBvA6w@mail.gmail.com>
Subject: Re: Setting up a proper modelling environment in Cygwin
To: moss AT cs DOT umass DOT edu
X-Spam-Status: No, score=-0.8 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
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lawrence Bernardo via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lawrence Bernardo <loric DOT bernardo AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Dear Eliot,

Thank you for your response. Indeed, after trying a number of different
combinations of component versions using the setup application, I found a
working set based on gcc/gfortran version 7.4.0. And I get what you mean
about Cygwin-specifc adjustments, as one of the codes I tried to compile
didn't succeed, and after a google search, found that it was mainly a
Cygwin issue. Thankfully, someone was already able to find a fix.

The cygwin time machine sounds interesting too, for the case of some really
old codes that might need to be dug up and reused. But thank you again for
your reply, it has been really helpful.

Best,
Lawrence


On Fri, Sep 11, 2020 at 10:33 PM Eliot Moss <moss AT cs DOT umass DOT edu> wrote:

> On 9/10/2020 10:37 PM, 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.
>
> Not sure if anyone has responded yet ...
>
> You can:
>
> - Install the specific version of gfortran (gcc suite) that you need.
> - Build the other things from sources in Cygwin, using the source packages.
>
> There might be rough edges if there are cygwin-specific adjustments that
> have been
> made and they don't quite match the version you want.
>
> There is also the cygwin time machine that you can use to get any old
> versions.
> (I've not used it, but know it exists and sometimes helps folks with
> situations
> like this.)
>
> Regards - Eliot Moss
>
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019