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.
Renaud,
> To: address@hidden (UNIDATA netcdf)
> From: address@hidden (Renaud Lestringant)
> Subject: netcdf with a linux pc
> Organization: Universite Pierre et Marie Curie
> Keywords: 200007071424.e67EOOT28186
In the above message, you wrote:
> I would like to know how to proceed to use the fortran 77 netcdf
> interface in a program written in f77, but installed on a pc linux
> and to be compiled with the Portland pgf90.
>
> I downloaded the 3.5 version, run configure and all the make processes,
> but no objects files are created in the f90 directory (and ar -t
> libnetcdf.a shows only libsrc .o). I tried to force FC=pgf90 to be
> used so as to get the fortran/*.c be compiled but the reccurent error
> "can't find your environment among of the cfortran.h" occured.
>
> Thank for your help.
>
> Lestringant Renaud
> --
> __________________________________________________________________________
> ||~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~||
> || Renaud LESTRINGANT CNRS Service Aeronomie ||
> || address@hidden Universite Pierre et Marie Curie ||
> || Phone: +33 01 64474368 Reduit de Verrieres, BP 3 ||
> || Fax: +33 01 69202999 91371 Verrieres-le-Buisson Cedex,France||
> ||______________________________________________________________________||
This is a known problem. You can find the solution at the following URL:
http://www.unidata.ucar.edu/staff/russ/netcdf/other-builds.html#linux-pgf90
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>