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

[netCDF #QUY-433308]: netcdf link

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 #QUY-433308]: netcdf link
  • Date: Fri, 28 Sep 2007 09:38:37 -0600

I wrote:

> On the line
>
> > pgf90 -o emis.exe -I../netcdf/include -L../netcdf/lib -lnetcdf
>
> I didn't see the name of any .f90 source file.

but I should have noticed that this was just the first part of the command that
appeared in two lines in your email.  I still think the problem is order of
arguments on the command line, so if you use

  pgf90 -o emis.exe -I../netcdf/include main-emiss.o ncf_read.o extract.o
  sum_fields.o data_store.o conversion.o -L../netcdf/lib -lnetcdf

instead of

  pgf90 -o emis.exe -I../netcdf/include -L../netcdf/lib -lnetcdf main-emiss.o
  ncf_read.o extract.o sum_fields.o data_store.o conversion.o

it should find the library functions needed.

--Russ




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



Ticket Details
===================
Ticket ID: QUY-433308
Department: Support netCDF
Priority: Normal
Status: Closed