You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running one of our coupled model test cases, with PR #1343 which is basically adding commit 3952826 to the dev/ufs-weather-model branch.
To Reproduce
Unfortunately, I've only run into this error in the coupled model, so it's hard for others to reproduce but it's the ufs-waether-model test cpld_debug_pdlib_p8 with intel see PR #1343
Expected behavior
Should not crash in debug mode.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running one of our coupled model test cases, with PR #1343 which is basically adding commit 3952826 to the dev/ufs-weather-model branch.
I get the following error:
forrtl: severe (408): fort: (3): Subscript #1 of the array A has value 0 which is less than the lower bound of 1
Line of code this is in (for the develop branch) is https://github.com/NOAA-EMC/WW3/blob/develop/model/src/w3src4md.F90#L2277 in the W3SDS4 subroutine :
BTH(IS)=DOT_PRODUCT(SATWEIGHTS(:,ITH), A(IS0+SATINDICES(:,ITH)) )**FACSAT
When I write out values before this crash
I get the following output:
I'm thinking we should add a ISO+1 here like is done in these lines of code: https://github.com/NOAA-EMC/WW3/blob/develop/model/src/w3src4md.F90#L2269C9-L2269C37:
Or something should be different in the SATINDICES(:,ITH) variable?
@mickaelaccensi @ardhuin - Any thoughts or comments?
To Reproduce
Unfortunately, I've only run into this error in the coupled model, so it's hard for others to reproduce but it's the ufs-waether-model test cpld_debug_pdlib_p8 with intel see PR #1343
Expected behavior
Should not crash in debug mode.
The text was updated successfully, but these errors were encountered: