This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Incorrect module file format in Fortran netCDF package

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:

      USE netcdf
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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]