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

floating divide by zero error #18

Closed
DesmetQuentin opened this issue Mar 1, 2022 · 2 comments
Closed

floating divide by zero error #18

DesmetQuentin opened this issue Mar 1, 2022 · 2 comments

Comments

@DesmetQuentin
Copy link
Collaborator

DesmetQuentin commented Mar 1, 2022

Hello,

I'm the only one in my team to have this problem, so I guess I did something wrong...
I get a floating divide by zero error at line 848 of mod_tendendy.F90 for a restart run with idynamic = 2. I have checked the array by printing them in debug files, and the zeros appear on external points.
The error disappears when I move the exchange call of sfs%psdota at line 800 in mod_init.F90 to between line 805 and 806.
Is there some parameterization I missed, which would prevent doing this?

Cheers,
Quentin

@graziano-giuliani
Copy link
Collaborator

Thanks Quentin, You are correct.

@DesmetQuentin
Copy link
Collaborator Author

I'm glad to help !

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

2 participants