[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #XPY-283671]: Build documentation outdated

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #XPY-283671]: Build documentation outdated
  • Date: Thu, 13 May 2010 13:23:14 -0600

Hi Nicolai,

> under
> http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Platform-Notes.html
> Section "3.9.5 Linux",
> it is stated that
> 
> > The f2cFortran flag is required with GNU fortran:
> > CPPFLAGS=-Df2cFortran
> 
> This seems to be wrong, we had to use '-DpgiFortran' to make netcdf (4.1.1) 
> work together with gfortran.

Thanks for pointing out the need for an update.  Our current advice for
GNU compilers is to either not set CPPFLAGS so that configure will figure
it out, or to use -DgFortran.  We've updated the document in the snapshot
and will also update what's on the web son.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: XPY-283671
Department: Support netCDF
Priority: Urgent
Status: Closed