This is the mail archive of the
mailing list for the Cygwin project.
Incorrect module file format in Fortran netCDF package
- From: Mark Hadfield <Mark dot Hadfield at niwa dot co dot nz>
- To: Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Fri, 4 Oct 2013 04:10:58 +0000
- Subject: Incorrect module file format in Fortran netCDF package
- Authentication-results: sourceware.org; auth=none
The Cygwin package x86/libnetcdf-fortran-devel-4.2-2 includes two Fortran module files
both dated 20 June 2012. According to the first line in each file (they are text files) the Gfortran format module version is '4'.
The current Cygwin gcc-fortran package is at version 4.7.3, which requires module version '9'. When I try to compile Fortran source code that USEs (in the Fortran sense) either of the above files I get a message like this:
Fatal Error: Wrong module version '4' (expected '9') for file 'NETCDF.mod' opened at (1)
To fix this, the package needs to be rebuilt with a recent version of Gfortran.
Dr Mark Hadfield
Scientist, Marine Physics
301 Evans Bay Parade
Private Bag 14 901
Wellington, New Zealand
Tel: +64 4 386 0363
NIWA - Enhancing the benefit of New Zealand's natural resources.
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple