Closed ceblanton closed 2 years ago
It should be noted that I don't think -fallow-invalid-boz
is required for the current code, but it would be needed to compile older versions of the models. We may encounter this type of issue when moving over to C5, so I think we should still include this compile option.
Available GCC versions on C4 are: 6, 7, 8 (default), 9, 10 Available GCC versions on C5: 10, 11 (default)
Using the current
ncrc-gcc.mk
template with GCC 11 on T5, @mcallic2 encountered errors such as:According to @thomas-robinson (and @rem1776 ), FFLAGS needs to have
-fallow-invalid-boz -fallow-argument-mismatch
for GCC versions 10 and later.They are are described in the GCC 10 release notes (https://gcc.gnu.org/gcc-10/changes.html):
These two options are not backward compatible, so we'll need to have two GCC templates or drop support for GCC versions before 10.