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

20030627: Problem linking f90 netcdf program using pgf90 on Linux



Daniel,

>Date: Fri, 27 Jun 2003 10:56:58 -0600 (MDT)
>From: "Daniel S Schaffer" <address@hidden>
>Organization: NOAA/NWS/FSL
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20030627: Problem linking f90 netcdf program using pgf90 on Linux 

The above message contained the following:

> That is not my own function.  This email contains the entire
> code that I wrote, compiled and linked. As you can see from the
> code, it calls nf90_open.  Any other thoughts?

You should be able to discover what object module is calling 
"netcdf_f90_open" by using the nm(1) utility.  For example,

    $ # Check the netCDF library
    $ nm -A -g $NETCDF_ROOT/lib/libnetcdf.a | grep netcdf_nf90_open_
    $ # Check the program
    $ nm -g read_weights.o | grep netcdf_nf90_open_
    ...
    $ # Check the libraries that the program uses
    ...

Regards,
Steve Emmerson