Describe the bug
In w3iogrmd, a variable named XFT is written to the model definition file mod_def.ww3 (line 1258). XFT is defined in w3gridmd, but it only seems to get set an initial value if ST2 flag is set (line 3521).
On the GNU compiler on our Cray EX supercomputers, this causes it to be assigned to unpredictable small values for some regression tests, leading them to show inconsequential differences (e.g. ukmo-waves/WW3#52) in mod_def output.
Please note only mod_def files seem to be affected by this issue.
Hopefully the fix is as simple as just initialising it to something outside an ST2 switch.
Describe the bug
In w3iogrmd, a variable named XFT is written to the model definition file mod_def.ww3 (line 1258). XFT is defined in w3gridmd, but it only seems to get set an initial value if ST2 flag is set (line 3521).
On the GNU compiler on our Cray EX supercomputers, this causes it to be assigned to unpredictable small values for some regression tests, leading them to show inconsequential differences (e.g. ukmo-waves/WW3#52) in mod_def output.
Please note only mod_def files seem to be affected by this issue.
Hopefully the fix is as simple as just initialising it to something outside an ST2 switch.