-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abort in icepack_itd.F90 due to negative dvice. #338
Comments
I'm confused. @dabail10 can you paste in the equivalent code block from CICE5, and for both of them, include conditional wrappers that might be further away in the code structure (like aicen > puny)? |
Apparently I was confused as well. This is the same code in CICE5 in shift_ice!
So, again I think this is an initialization problem. The donor value is > 0 and dvice is slightly negative here. However, it was aborting in CICE6, but not in CICE5 for the NOAA folks. Here is the message: (shift_ice)shift_ice: negative dvice Dave |
Okay, it might be an initialization problem and roundoff differences, but it's also possible that the run is reaching this part of the code in v6 but was prevented from doing so in v5, so there might still be a difference in conditionals somewhere. |
I believe this is related to #333 |
I'll close this issue, assuming that #333 takes care of it. If it pops up again we can reopen. |
This code is slightly different from CICE5. I think this should be dvice < -puny and not -puny x vicen(nd). The NOAA folks have found a case where puny x vicen(nd) is 1.0e-61. So, it aborts with negative dvice. The CICE5 code checks for aicen < puny. Thoughts?
The text was updated successfully, but these errors were encountered: