Re: Incorrect module file format in Fortran netCDF package

2016-02-29 Thread Marco Atzeri
On 29/02/2016 23:40, Mark Hadfield wrote: The recent GCC update has apparently introduced a new module file format for Gfortran, but the netCDF Fortran-90 module file has not yet been updated, as on previous occasions https://www.cygwin.com/ml/cygwin/2015-01/msg00281.html https://www.cygwin.com/

Incorrect module file format in Fortran netCDF package

2016-02-29 Thread Mark Hadfield
The recent GCC update has apparently introduced a new module file format for Gfortran, but the netCDF Fortran-90 module file has not yet been updated, as on previous occasions https://www.cygwin.com/ml/cygwin/2015-01/msg00281.html https://www.cygwin.com/ml/cygwin/2013-10/msg00026.html Mark Hadfie

Re: Incorrect module file format in Fortran netCDF package

2015-01-20 Thread Marco Atzeri
On 1/21/2015 4:46 AM, Mark Hadfield wrote: Following up my previous message, this from https://gcc.gnu.org/wiki/GFortran/News#gfortran_4.9.1 indicates that the problem is due to the GCC upgrade from 4.8 to 4.9: Module files: The version of the module files (.mod) has been incremented; additional

Re: Incorrect module file format in Fortran netCDF package

2015-01-20 Thread Mark Hadfield
Following up my previous message, this from https://gcc.gnu.org/wiki/GFortran/News#gfortran_4.9.1 indicates that the problem is due to the GCC upgrade from 4.8 to 4.9: Module files: The version of the module files (.mod) has been incremented; additionally, module files are now compressed. Fortran

Incorrect module file format in Fortran netCDF package

2015-01-20 Thread Mark Hadfield
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.

Re: Incorrect module file format in Fortran netCDF package

2013-10-06 Thread marco atzeri
Il 10/6/2013 11:44 PM, Mark Hadfield ha scritto: Thanks, Marco. It all works fine now. I can delete my home-grown netCDF build. On a related topic, I intend to work with Charlie Zender and Pedro Vicente to get NCO (URL below) bundled as a Cygwin package. http://nco.sourceforge.net/ But it wil

RE: Incorrect module file format in Fortran netCDF package

2013-10-06 Thread Mark Hadfield
Thanks, Marco. It all works fine now. I can delete my home-grown netCDF build. On a related topic, I intend to work with Charlie Zender and Pedro Vicente to get NCO (URL below) bundled as a Cygwin package. http://nco.sourceforge.net/ But it will be a few weeks before I can devote some effort to

Re: Incorrect module file format in Fortran netCDF package

2013-10-04 Thread marco atzeri
Il 10/4/2013 10:57 AM, marco atzeri ha scritto: Il 10/4/2013 6:32 AM, Mark Hadfield ha scritto: There's a second issue. In the output of "/usr/bin/nf-config --all" (below) a -no-undefined option is printed. This is not a valid option for gfortran. With these two issues fixed I can compile and l

Re: Incorrect module file format in Fortran netCDF package

2013-10-04 Thread marco atzeri
Il 10/4/2013 6:32 AM, Mark Hadfield ha scritto: There's a second issue. In the output of "/usr/bin/nf-config --all" (below) a -no-undefined option is printed. This is not a valid option for gfortran. With these two issues fixed I can compile and link Fortran 90 programs that use the netCDF For

RE: Incorrect module file format in Fortran netCDF package

2013-10-03 Thread Mark Hadfield
There's a second issue. In the output of "/usr/bin/nf-config --all" (below) a -no-undefined option is printed. This is not a valid option for gfortran. With these two issues fixed I can compile and link Fortran 90 programs that use the netCDF Fortran interface. -

Incorrect module file format in Fortran netCDF package

2013-10-03 Thread Mark Hadfield
The Cygwin package x86/libnetcdf-fortran-devel-4.2-2 includes two Fortran module files usr/include/NETCDF.mod usr/include/TYPESIZES.mod 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-fort