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.

Re: [netcdfgroup] netcdf compilation

Is it for the netcdf compilation or for the program( my program compilation)
netcdf for me was compiled by gfortran.
Sudheer
----- Original Message ----- From: "Roy Mendelssohn" <Roy.Mendelssohn@xxxxxxxx>
To: "Dr.Sudheer Joseph" <sjo@xxxxxxxxxxxxx>
Cc: "netCDF Mail List" <netcdfgroup@xxxxxxxxxxxxxxxx>
Sent: Wednesday, February 13, 2008 10:36 PM


Looking at the instructions for Linux on the netcdf page, it appears that when it builds using gfortran it uses the option -Df2cFortran. This probably means that in your compile of your program you need to add:

-ff2c

HTH,

-Roy M.

**********************
"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."