E3SM-Project / scorpio

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

Adding config check for is_contiguous #538

Closed jayeshkrishna closed 10 months ago

jayeshkrishna commented 10 months ago

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

Fixes #529

dqwu commented 10 months 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