diag integral error during output with intel 2024.2 #1623
Description
Describe the bug
The diag_integral unit tests are failing when compiled with oneapi 2024.2 (ifort+icx) and debug flags. The culprit seems to be this attempt at a list comprehension when it writes out field averages:
FMS/diag_integral/diag_integral.F90
Lines 778 to 784 in 899ea6e
This isn't valid fortran as far as i know so I have no idea how its working.
To Reproduce
compile with oneapi 2024.2 and debug flags (FCFLAGS=-traceback -g -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fpe0 -ftrapuv
)
Expected behavior
Code shouldn't crash with debug flags.
System Environment
AMD dev box
Additional context
The format code used in the output seems like it needs some adjusting, otherwise this would be a much easier fix