Skip to content
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

Divide by zero in Delta-Eddington routine #132

Open
kshedstrom opened this issue Aug 18, 2020 · 0 comments
Open

Divide by zero in Delta-Eddington routine #132

kshedstrom opened this issue Aug 18, 2020 · 0 comments

Comments

@kshedstrom
Copy link
Contributor

I'm using one of the new initialization options for ice thickness such that I have roughly a meter of ice north of a specified latitude. The code fails in debug mode, runs otherwise:

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x7f2c3489756f in ???
#1 0x6eb30a in __ice_shortwave_dedd_MOD_compute_dedd0
	at //import/c1/AKWATERS/kate/ESMG/ESMG-configs/src/SIS2/src/ice_shortwave_dEdd.F90:1250

The ice area is all in category 1 while the ice mass is in category 3, leading to dz=0 for category 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant