-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix box2001 forcing, restart fields on land, bathymetry default value, omp_suite #65
Conversation
address the problems with the boxrestore test errors. - Update box2001 so it's bit-for-bit with different blocks/decomps/pe counts. - Initialize bathymetry values at all gridcells when bathymetry_format='default' and use_bathymetry=.false.
…non-zero values over land by default and this causes problems with land block elimination and comparisons of different decompositions. Does not affect science. - Update omp_suite to use different block sizes in comparisons
uocn(i,j,iblk) = p2*real(jglob(j), kind=dbl_kind) & | ||
/ real(ny_global,kind=dbl_kind) - p1 | ||
vocn(i,j,iblk) = -p2*real(iglob(i), kind=dbl_kind) & | ||
/ real(nx_global,kind=dbl_kind) + p1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is BFB on square domains -- but definitely fixing a bug in the denominators, thanks for catching it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I also noticed the bug in the forcing, not just when I was reviewing the paper. So it wasn't working on multiple blocks and the forcing was incorrect.
@@ -4228,6 +4228,7 @@ subroutine get_bathymetry | |||
depth(k) = depth(k-1) + thick(k) | |||
enddo | |||
|
|||
bathymetry = 0._dbl_kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use c0 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brain freeze, I'll fix it.
Full suite results on cheyenne, https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash_forks#090aa9280b9c91d648f07da5802307724983a13c All tests pass. The following difference exist with current main
The following are known problems
|
PR checklist
Fix box2001 forcing, restart fields on land, bathymetry default value, omp_suite
apcraig
Full test suites run on cheyenne, results as expected
These changes should be migrated to main sooner than later.