E3SM-Project / E3SM-Project/scorpio

Adding version check for NetCDF fortran library

Open
#206 0 comments 0 reactions 1 assignee Claimed by @dqwu View on GitHub
enhancement Low Priority
Dominant language
C++
Stars
22
Forks
20
Avg merge
12d 19m
Merged PRs (30d)
1

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.