ICTP / RegCM

ICTP Regional Climate Model

Home Page:https://www.ictp.it/esp/about

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

floating divide by zero error

DesmetQuentin opened this issue · comments

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

Thanks Quentin, You are correct.

I'm glad to help !