public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mark Hadfield <mark.hadf@gmail.com>
To: Cygwin <cygwin@cygwin.com>
Subject: Incorrect module file format in Fortran netCDF package
Date: Tue, 20 Jan 2015 23:50:00 -0000	[thread overview]
Message-ID: <CALLo=nqHZ1B4OdJ0=7WE6zyHDWS3YjdeoAETT-hvCO_CR5bmmQ@mail.gmail.com> (raw)

I think I'm seeing a repeat of this bug:

https://www.cygwin.com/ml/cygwin/2013-10/msg00026.html

When I try to compile Fortran source code that USEs (in the Fortran
sense) the netcdf module I get a message like this:

/usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math roms_export.f90
mod_netcdf.f90:19.10:

      USE netcdf
          1

Fatal Error: Cannot read module file 'netcdf.mod' opened at (1),
because it was created by a different version of GNU Fortran

The file it's trying to read is /usr/include/netcdf.mod, dated 15
November 2014. The header line (it's a plain text file) identifies it
as GFORTRAN module version '10'. A module file that I just created
with the current Gfortran (GCC 4.9.2) is a gzipped text file and the
header line identifies it as GFORTRAN module version '12'.

So I conclude that netcdf-gfortran package needs to be rebuilt with
the current Gfortran.


Mark Hadfield
51 Volga St
Wellington 6023, NZ

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2015-01-20 21:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 23:50 Mark Hadfield [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-29 22:40 Mark Hadfield
2016-03-01  5:35 ` Marco Atzeri
2015-01-21  4:40 Mark Hadfield
2015-01-21  9:02 ` Marco Atzeri
2013-10-04  4:11 Mark Hadfield
2013-10-04  4:32 ` Mark Hadfield
2013-10-04  8:57   ` marco atzeri
2013-10-04  9:57     ` marco atzeri
2013-10-06 21:50       ` Mark Hadfield
     [not found]       ` <A4BDD8E3859F92478F09D5AACD6D79C0956EF4DC@welwexmb01.niwa.local>
2013-10-07  1:46         ` marco atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALLo=nqHZ1B4OdJ0=7WE6zyHDWS3YjdeoAETT-hvCO_CR5bmmQ@mail.gmail.com' \
    --to=mark.hadf@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).