E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
Other
21 stars 16 forks source link

Adding config check for is_contiguous #538

Closed jayeshkrishna closed 1 year ago

jayeshkrishna commented 1 year ago

Adding config checks for F2008 features required for the new Fortran interface (IS_CONTIGUOUS).

Fixes #529

dqwu commented 1 year ago

This PR works for GCC 8 or lower, and the expected CMake warning is shown:

CMake Warning at src/CMakeLists.txt:40 (message):
  Some F2008 features required for new Fortran interface is missing.  Forcing
  use of the legacy Fortran interface