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 Thomas,

Am Mittwoch, 13. Januar 2010 schrieb Thomas Orgis:
> Many autotool checks do that, in fact. Often it's the only way to check if
> there is some functionality.

Thank you, I’ll do some research on that one, and go with that if pkg-config 
fails…

> Well... you use the macros to look for the needed libs to link in to get
> NetCDF functions:
>
> http://www.gnu.org/software/autoconf/manual/html_node/Libraries.html
>
> You will need to test for the few possible cases...

Nice Idea. This will solve this problem…
Maybe there is a fortran-api function not existing in earlier (≤4) versions, 
to check for?

Thanks a lot guys!
C.M.



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