Re: Compiling NetCDF with g95 or gfortran on a PowerPC Mac.

Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Fink builds it and I believe i uses g95.  Here is the relevant part 
of the config info from Fink:

Package: netcdf
Version: 3.6.1
Revision: 1001
BuildDependsOnly: True
Maintainer: Jeffrey Whitaker <jswhit@xxxxxxxxxxx>
Depends: %N-shlibs (= %v-%r) | netcdf-absoft-shlibs (>= 3.5.1-3), 
%N-bin | netcdf-absoft-bin
BuildDepends: g95 (>= 0.50-20060321)
Conflicts: netcdf-absoft
Replaces: netcdf-absoft
GCC: 4.0
SourceDirectory: %N-%v/src
Source-MD5: 07a9db424337c5e4833fb84136e09a1e
NoSetLDFLAGS: true
SetCXX: c++
CompileScript: <<
   #!/bin/sh -ev
   CXXFLAGS="-O2" CFLAGS='-O2' FC='%p/bin/g95' FFLAGS='-O2' 
F90='%p/bin/g95' ./configure --prefix=%p/%n
   #make check

-Roy M.

At 10:20 AM +1000 9/13/06, Timothy Hume wrote:
>I have been trying (unsuccessfully) to compile NetCDF using g95 (I've also
>tried gfortran) on my PowerPC Mac. The compilation goes OK, but then make
>test fails at the Fortran tests. The C library works fine. I've tried
>various compiler options (such as -fno-second-underscore) without success.
>Has anyone successfully compiled NetCDF on this platform with the g95
>compiler, and if so, what settings are required?
>Tim Hume
>Bureau of Meteorology Research Centre
>To unsubscribe netcdfgroup, visit:

"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
Roy Mendelssohn
Supervisory Operations Research Analyst
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440

"Old age and treachery will overcome youth and skill."

To unsubscribe netcdfgroup, visit: