X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=SMUVWji3xxvcB7x5UnHvbpbX2Zwue PvCs/5w7KJ1r6CIaifdBkX95URSrnvmXUrTJxOzwRvRaiNJ+X5S8soY9+SR/HLq8 yuY4n3CeJAg4xU/qS8NIwPdNK3lOtP5cdP25XDduQjMX9nb4aoA2pgWZBOY0SyrO p/mwC7DZxfHOu8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=RwYWlsSRtV6BNpb08R6LG2V9ojE=; b=gNl tfNLwSqCqnna9u7edZ+3xaAp+uPs5B1sCxS/WpNZ46oCAme712GEiXfelysKl1Wq DKJs220jwGTEo59EbI8zr0GG6FvE3D273n9LKcPPROi6kNnU/vhi+6TZtqPJTsxN B85SkInpGpV5Js9cbhSMjpmZvxOhkBRZCc9it8Wg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 From: Mark Hadfield Date: Wed, 21 Jan 2015 10:08:33 +1300 Message-ID: Subject: Incorrect module file format in Fortran netCDF package To: Cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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