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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=Q/Y 64Wv/Wji6ktpV4qCVuLHl18aUu1F/ytZPZYZND8G8FVLJ3IkMSp/ksVpd9zce/jx ZItN5DyV82aSWP16OPRSolVFFYLPtaaWMuTrAu3XgQWvwImiFYMgg7dPt86+fkNB Aoc8BKPkaYm7u1AqHE6aw/GqR+/1M6e6JsiLnAhM= 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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=5o2vMVVra HzLMTBxm0GpBrqzw0Y=; b=Gph9XS8mSBtAGgBFT6sLXLcw5MG/Jjjvh4jbJP0UI fS9bVRrZ5AvcoxugJlhUqm+GIBFEU4uHPeQ/apRJ7D6gONqP6fs0pjHCU8bEmKvR JaNJzcYt+Uiwil8oTVp1KkfctfQ4VYRJPVB9MhnjJfDQ2XWQf9yZRmUWV07r3t7r KQ= 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=4.0 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2 X-HELO: mx1.securemx.biz From: Mark Hadfield To: Cygwin Mailing List Subject: Incorrect module file format in Fortran netCDF package Date: Fri, 4 Oct 2013 04:10:58 +0000 Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r944BKnd027097 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-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 1 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 NIWA 301 Evans Bay Parade Private Bag 14 901 Wellington, New Zealand Tel: +64 4 386 0363 www.niwa.co.nz 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 FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple