NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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

--============_-1054013026==_ma===========
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
Source: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%v.tar.gz
SourceDirectory: %N-%v/src
Source-MD5: 07a9db424337c5e4833fb84136e09a1e
NoSetLDFLAGS: true
SetCXX: c++
SetCPPFLAGS: -DNDEBUG -Df2cFortran
CompileScript: <<
   #!/bin/sh -ev
   CXXFLAGS="-O2" CFLAGS='-O2' FC='%p/bin/g95' FFLAGS='-O2' 
F90='%p/bin/g95' ./configure --prefix=%p/%n
   make
   #make check
<<

-Roy M.


At 10:20 AM +1000 9/13/06, Timothy Hume wrote:
>Hi,
>
>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?
>
>Thanks,
>
>Tim Hume
>Bureau of Meteorology Research Centre
>Melbourne
>Australia
>
>
>
>==============================================================================
>To unsubscribe netcdfgroup, visit:
>http://www.unidata.ucar.edu/mailing-list-delete-form.html
>==============================================================================


-- 
**********************
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
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
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
--============_-1054013026==_ma===========

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: