On 12.09.2020 07:39, Brian Inglis wrote:
On 2020-09-11 08:59, 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:

- netcdf-fortran

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.

netcdf-fortran needs a rebuild

$ zcat /usr/include/netcdf.mod | head -n 1
GFORTRAN module version '14' created from netcdf4.f90

Worse, setup.ini somehow now contains component package netcdf-fortran-debuginfo
but not netcdf-fortran itself!


of course they are called a bit differently


libnetcdf-fortran-devel                 4.5.2-1
libnetcdf-fortran_7                     4.5.2-1

--
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

Reply via email to