Open mathomp4 opened 3 years ago
Note, I might "fix" this for GNU by using:
if (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
target_compile_definitions (${this} PRIVATE $<$<COMPILE_LANGUAGE:Fortran>:DYNAMIC_ALLOCATION>)
endif ()
where we use the DYNAMIC_ALLOCATION
path to let GNU at least build without touching Intel (which might change results).
We would then need someone on the ADAS side (perhaps @gmao-msienkie can suggest someone?) to try out DYNAMIC_ALLOCATION
with Intel and see if the results are good.
In looking at https://github.com/GEOS-ESM/GEOSgcm/pull/224, it was seen that NCEP_bufr cannot build with GCC. The error is:
This is @tclune level thinking needed I think.
That said, I think I can see a cheap fix. I'll test it.