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
Expected behavior
If you hard-code WW3 to use the UFS debug compile options shown above, the run will terminate with a forrtl: error (65): floating invalid. If you submit the test as is with no modifications the run will complete normally, no indication of the issue.
Screenshots ww3_prnc.F90: The problematic line is shown commented out below, with write statements of the variable (A3) directly above.
ww3_prnc_glox_10m_wind.out: Output from the wind log file showing the result of the inserted write statements.
Additional context
In this test (ww3_ufs1.2) the negative values occur during the wind interpolation section. There were 27 values of A3(NX,NY) flagged as negative.
The text was updated successfully, but these errors were encountered:
Describe the bug
During the execution of program
W3PRNC
in the regtestww3_ufs1.2
negative values are passed into theSQRT()
function.To Reproduce
Execute the following
run_test
taken from thematrix12
script generated fromregtests/bin/matrix_ncep
.This bug was identified by hard-coding the UFS debug compile options into
model/bin/cmplr.env
optc="$optc -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -ftrapuv -init=snan,arrays -link_mpi=dbg_mt"
Expected behavior
If you hard-code WW3 to use the UFS debug compile options shown above, the run will terminate with a
forrtl: error (65): floating invalid
. If you submit the test as is with no modifications the run will complete normally, no indication of the issue.Screenshots
ww3_prnc.F90: The problematic line is shown commented out below, with write statements of the variable (
A3
) directly above.ww3_prnc_glox_10m_wind.out: Output from the wind log file showing the result of the inserted write statements.
Additional context
In this test (
ww3_ufs1.2
) the negative values occur during the wind interpolation section. There were 27 values ofA3(NX,NY)
flagged as negative.The text was updated successfully, but these errors were encountered: