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

20040513:netcdf.f routine



Jose,

I'm sorry, but I answer a lot of support email and I'm afraid that I
don't recall our conversation.  I also couldn't find any correspondence
with you in my saved email box or in the netCDF support-email archive.

> To: Unidata Support <address@hidden>
> From: "Jose L Salazar" <address@hidden>
> Subject: netcdf.f routine
> Organization: NOAA
> Keywords: 200405132119.i4DLJKtK027887

The above message contained the following:

> I am working with the netCDF tool now. I did download the tar file from 
> the given site.
> I am having trouble linking the libnetcdf.a library to my program.
> I am using fortran 77 as the interface. I looked inside that library and 
> there is no netcdf.f file nor  netcdf.o object file.

The Fortran-callable routines in the netCDF library should all have an
"nf_" prefix.  For example

    $ nm -g /upc/netcdf/lib/libnetcdf.a | grep nf_ | head
    [39]        |      3580|     240|FUNC |GLOB |0    |2      
|nf_get_att_double_
    [23]        |      1612|     240|FUNC |GLOB |0    |2      |nf_get_att_int1_
    [27]        |      2104|     240|FUNC |GLOB |0    |2      |nf_get_att_int2_
    [31]        |      2596|     240|FUNC |GLOB |0    |2      |nf_get_att_int_
    [35]        |      3088|     240|FUNC |GLOB |0    |2      |nf_get_att_real_
    [19]        |      1116|     244|FUNC |GLOB |0    |2      |nf_get_att_text_
    [37]        |      3328|     252|FUNC |GLOB |0    |2      
|nf_put_att_double_
    [21]        |      1360|     252|FUNC |GLOB |0    |2      |nf_put_att_int1_
    [25]        |      1852|     252|FUNC |GLOB |0    |2      |nf_put_att_int2_
    [29]        |      2344|     252|FUNC |GLOB |0    |2      |nf_put_att_int_

> Could you please e-mail me that netcdf.f file or the source code so I 
> can be able to make it and link it to that library?.

I'm afraid that I don't know to what "netcdf.f" file you're referring.

> Thanks again for your time
> Jose Luis.
> -- 
> Jose Luis Salazar
> Data Sounding Technologist
> NOAA/NESDIS Soundings Development Team
> Suitland Federal Building, FOB# 4 Room 3206
> Fax : 301-457-5171
> E-mail: address@hidden

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.