scorpio icon indicating copy to clipboard operation
scorpio copied to clipboard

Adding version check for NetCDF fortran library

Open jayeshkrishna opened this issue 5 years ago • 0 comments

Currently PIO only supports checking the version of the NetCDF C library.

We do not check the version of the NetCDF Fortran library and hence also do not perform any minimum version checks on it.

AFAICT, the NetCDF fortran library provides two ways to find the version of the library (no compile-time option),

  • Using nf-config (--version option)
  • Using NF_INQ_LIBVERS() function

The current cmake scripts find the version of the NetCDF C library by parsing the version string in netcdf_meta.h (I don't think a similar option exists for the Fortran library)

jayeshkrishna avatar May 21 '19 21:05 jayeshkrishna