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 E586E3987010 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu Subject: Re: Setting up a proper modelling environment in Cygwin To: Lawrence Bernardo , cygwin AT cygwin DOT com References: From: Eliot Moss Message-ID: <7ea73c16-538d-5f53-dce9-95dc41be0778@cs.umass.edu> Date: Fri, 11 Sep 2020 09:33:57 -0400 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: en-US X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, 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: , Reply-To: moss AT cs DOT umass DOT edu Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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