X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,TW_VF,TW_XV X-Spam-Check-By: sourceware.org X-DKIM: Sendmail DKIM Filter v2.8.3 mux1.uit.no pA9DVvHT033430 From: =?utf-8?B?RWR2YXJkc2VuIEvDpXJl?= To: "cygwin AT cygwin DOT com" Subject: Re: What updates done after October 3 may affect gfortran built binaries? Date: Wed, 9 Nov 2011 13:31:56 +0000 Message-ID: <1320845473.13045.70.camel@kare-desktop> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id pA9DWlUf014620 [...] > > I will now start going through the updates and change back to versions > yielding October 3 if possible. I think this is important since cygwin > will give the opportunity to run and develop FLEXPART on Windows > machines the way linux-users are used to. In addition, I also see a > potential problem of other fortran software that people want to run > under cygwin. > > Regards, > KÃre > > my guess binutils > http://cygwin.com/ml/cygwin-announce/2011-10/msg00028.html > > or some BLODA. > > I downloaded the > http://zardoz.nilu.no/~flexpart/flexpart/flexpart_82-3.tar.gz > > but it is not clear to me how to replicate your build. > > make -f makefile.gfs_gfortran_32 > > fails here: > --------------------------------------------------------------- > $ make -f makefile.gfs_gfortran_32 > gfortran -O2 -m32 -fconvert=little-endian -frecord-marker=4 > -I/nilu2/home/flexpart/lib/gfortran/include -c -o writeheader.o > writeheader.f > includecom:685.22: > Included at writeheader.f:50: > > common /globalr/ ! REAL > 1 > Error: The equivalence set for 'pplev' cause an invalid extension to > COMMON 'globalr' at (1) > ...... > --------------------------------------------------------------- > > Regards > Marco > Thanx a lot, Marco for takng time! In order to replicate my build you need to install latest version of the grib_api library (http://www.ecmwf.int/products/data/software/download/grib_api.html) and istall it with jasper tar xvfz grib_api-1.9.9.tar.gz ./configure [--with-jasper=] make make install You then have to edit the makefile.ecmwf_gfortran_32 to have the right lib and include path's set for gfortran to find jasper and grib_api. The path's found in makefile.ecmwf_gfortran_32 are just showing where the programmers installed those lib's before distributing the FLEXPART software. If you get a successful build, it will still prompt an error since you will still miss some expected settings, but you will clearly see whether this is a bad binary or not. I will definitely try reinstalling an older version of binutils and give it a try. Thanx again for the advice. Regards, Kåre