Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdfgroup] Getting netcdf version

Hello,

Just for googlebility…

I will try to determine the version by pkg-config…
Because this is not supported in most distributions before version 4.0.1
I will determine the version by 

> > http://www.gnu.org/software/autoconf/manual/html_node/Libraries.html

on the compound feature of netcdf 4 "nc_def_compound"…
If present I willl have to link to libhdf, too…

To check whether the library contains the fortran-api I’ll check for 
e.g. "nf_inq_libvers_".
If "nc_inq_libvers" is not part of the library, the netcdf-C stuff has to be 
searched in another library file…

Hope this’ll work…

bye
C.M.



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: