-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
The d2 calculation near the end of deln_flux has discrepant results between 64- and 32-bit caulculations:
GFDL_atmos_cubed_sphere/model/tp_core.F90
Line 1316 in 9ca1468
| d2(i,j) = (fx2(i,j)-fx2(i+1,j)+fy2(i,j)-fy2(i,j+1))*gridstruct%rarea(i,j) |
The GEOS team has resolved this by enforcing the order-of-operations in the flux addition/subtractions:
d2(i,j) = ((fx2(i,j)-fx2(i+1,j))+(fy2(i,j)-fy2(i,j+1)))*gridstruct%rarea(i,j)
This could be a good improvement to 32-bit runs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels