You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Running a multi-grid model using NAMELIST input (ww3_multi.nml) causes a runtime error.
The error does not occur when using ww3_multi.inp (WMINT is called rather than WMINITNML)
Expected behavior
Not segfault when using ww3_multi.nml
The text was updated successfully, but these errors were encountered:
Describe the bug
The
ACTION
array in thewminitmd.f90
subroutineWMINITNML
is allocated with an upper bound of 9:WW3/model/ftn/wminitmd.ftn
Line 4081 in 482c500
but it is later accessed with array indices > 9 e.g.:
WW3/model/ftn/wminitmd.ftn
Line 4167 in 482c500
The
WMINIT
subroutine also contains an ACTION array, however this is defined as a static array of the correct size 11:WW3/model/ftn/wminitmd.ftn
Line 429 in 482c500
To Reproduce
Running a multi-grid model using NAMELIST input (ww3_multi.nml) causes a runtime error.
The error does not occur when using
ww3_multi.inp
(WMINT is called rather than WMINITNML)Expected behavior
Not segfault when using ww3_multi.nml
The text was updated successfully, but these errors were encountered: