ecmwf-ifs / field_api

Apache License 2.0
3 stars 8 forks source link

Fix compilation without FIAT #61

Closed awnawab closed 1 week ago

awnawab commented 1 week ago

According to the 2003 Fortran standard, all type-bound procedures of a concrete type must not be deferred. This was not the case when building FIELD_API without FIAT as CRC64 remained a deferred procedure. The only compiler for which we tested compilation without FIAT was NVHPC, which clearly doesn't enforce the standard strongly in this regard. Compiling with GNU 14 highlighted the bug, which this PR fixes.

awnawab commented 1 week ago

Thanks a lot @dareg for the quick review 🙏 merging now