In CICE.v5, when functions like shift_ice in ice_itd.F90 abort they could include where in the domain errors occurred (via istop, jstop). This is very helpful for debugging. Is there existing way to do this?
Now that columns in Icepack do not know where they are afaik, it seems like there is no location information to report in warnstr. So triggers like "dvice_negative" in icepack_itd force aborts but where-->why are obfuscated.
If there is not an existing way, some options to connect the locations known in CICE to the errors triggered in Icepack are to
Now that columns in Icepack do not know where they are afaik, it seems like there is no location information to report in warnstr. So triggers like "dvice_negative" in icepack_itd force aborts but where-->why are obfuscated.
If there is not an existing way, some options to connect the locations known in CICE to the errors triggered in Icepack are to
- Pass a "warnstr_cice" down into Icepack
- Check for Icepack aborts within i,j loops in CICE