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
nstreams is initialized in ice_history::init_hist, but is used in ice_calendar::calendar, called from ice_calendar::init_calendar. The calling sequence in CICE_InitMod::cice_init is:
132call init_calendar ! initialize some calendar stuff
133call init_hist (dt) ! initialize output history file
So it's used before being initialized. This was found by compiling with -init=huge which initializes integers to their maximum value; nstreams was 2147483647 in the core dump and the model aborted because histfreq was accessed at index 6 while it has size 5 (thanks to -check).
Might be worth it to run the full suite with that flag, see what we uncover!
The text was updated successfully, but these errors were encountered:
nstreams
is initialized inice_history::init_hist
, but is used inice_calendar::calendar
, called fromice_calendar::init_calendar
. The calling sequence inCICE_InitMod::cice_init
is:So it's used before being initialized. This was found by compiling with
-init=huge
which initializes integers to their maximum value;nstreams
was 2147483647 in the core dump and the model aborted becausehistfreq
was accessed at index 6 while it has size 5 (thanks to-check
).Might be worth it to run the full suite with that flag, see what we uncover!
The text was updated successfully, but these errors were encountered: