From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8118 invoked by alias); 20 Jan 2015 21:09:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8095 invoked by uid 89); 20 Jan 2015 21:09:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f49.google.com Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com) (209.85.215.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 20 Jan 2015 21:08:59 +0000 Received: by mail-la0-f49.google.com with SMTP id hs14so36810544lab.8 for ; Tue, 20 Jan 2015 13:08:55 -0800 (PST) X-Received: by 10.153.6.6 with SMTP id cq6mr40933473lad.23.1421788135604; Tue, 20 Jan 2015 13:08:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.97.146 with HTTP; Tue, 20 Jan 2015 13:08:33 -0800 (PST) From: Mark Hadfield Date: Tue, 20 Jan 2015 23:50:00 -0000 Message-ID: Subject: Incorrect module file format in Fortran netCDF package To: Cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00282.txt.bz2 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