-
Notifications
You must be signed in to change notification settings - Fork 368
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
fatal RRM bug in atmosphere dycore #684
Comments
current status, using the ACME version of standalone HOMME (dry dycore only simulations):
This suggests that most of the RRM infrastructure is working correctly, but there must be an issue related to pack/unpack of data with the "k" layer index. |
The SGH fix was just an update to the SGH field in the topo boundary condition file, so it wasn't any code changes. I'm pretty sure this regression happened when we brought in the ACME branch of HOMME: 17731cc Merge branch 'jgfouca/homme/bring_in_as_subtree_attempt_2' into master (PR #362) Before that, we had an old version of HOMME inherited from CESM beta10. I will work on debugging it. I think the best way is to compare shallow water with 1 layer and with 4 layers. In the 4 layer case, all 4 layers should be identical, so finding out where they depart should lead to the buggy routine. |
That's great. We know where to look for the bug. Although debugging this problem is beyond my specialty, let me know if you think I can help in solving it. |
In my case I see it stops here in the atm.log:
Whereas, in the cesm.log I get this:
|
That's clearly a bug. But it appears to be harmless because "ii" and np0 are never used. It seems all the code doing out-of=bounds array lookups should be deleted: ii=Edge%tail_face
|
fixes #684 indexing bug when a corner node was coupled to more than 1 element (for RRM grids)
bugfix in pack and unpack when using RRM Fixed an indexing bug when a corner node was coupled to more than 1 element (for RRM grids), and then added tests to prevent these types of bugs in the future. new tests: RRM grids template generation code SE-SL test using baroCamMoist executable Held-Suarez test case BFB with different number of threads HOMME regression test expected failures: swtc1 PASS swtc2 (new RRM test) swtc5 PASS swtc6 rebaseline needed (changed map, added new subtest) baro2b PASS baro2c rebaseline needed (switched from leapfrog to RK) baroCamMoist PASS baroCamMoist-SL (new test) templates (new test) fixes #684 fixes #488 * origin/mt5555/homme/rrmfix: moved openMP test from expensive baro2b to cheap baroCamMoist splitting baroCamMoist into two seperate tests adding forgotten namelist file for new test removing forgotten debug print statements a few more tweaks to baroCAM test case (it was too slow) adding SE-SL tracer test to HOMME regression suite bug fix in cprnc utility when number of times dont match allow optional cprnc RMS tolerance to pass some tests update README adding capability to call cprnc on two subtest results updated baro2c test to use RK instead of LEAPFROG bugfix: HOMME's make check was overwriting baseline generation scripts adding test of the mesh/scrip file generation capability adding ultra-low-res RRM test case using swtc6 Adding RRM test case to HOMME regression suite comment out edge rotation initialization code bugfix in pack and unpack when using RRM
fixes #684 indexing bug when a corner node was coupled to more than 1 element (for RRM grids)
This is the second merge for this PR. bugfix in pack and unpack when using RRM Fixed an indexing bug when a corner node was coupled to more than 1 element (for RRM grids), and then added tests to prevent these types of bugs in the future. new tests: RRM grids template generation code SE-SL test using baroCamMoist executable Held-Suarez test case BFB with different number of threads HOMME regression test expected failures: swtc1 PASS swtc2 (new RRM test) swtc5 PASS swtc6 rebaseline needed (changed map, added new subtest) baro2b PASS baro2c rebaseline needed (switched from leapfrog to RK) baroCamMoist PASS baroCamMoist-SL (new test) templates (new test) fixes #684 fixes #488 * origin/mt5555/homme/rrmfix: bug fix - array copy bounds error
bugfix in pack and unpack when using RRM Fixed an indexing bug when a corner node was coupled to more than 1 element (for RRM grids), and then added tests to prevent these types of bugs in the future. new tests: RRM grids template generation code SE-SL test using baroCamMoist executable Held-Suarez test case BFB with different number of threads HOMME regression test expected failures: swtc1 PASS swtc2 (new RRM test) swtc5 PASS swtc6 rebaseline needed (changed map, added new subtest) baro2b PASS baro2c rebaseline needed (switched from leapfrog to RK) baroCamMoist PASS baroCamMoist-SL (new test) templates (new test) fixes #684 fixes #488 [non-BFB] * origin/mt5555/homme/rrmfix: Remove "phys_area" from output in HOMME template test bug fix - array copy bounds error moved openMP test from expensive baro2b to cheap baroCamMoist splitting baroCamMoist into two seperate tests adding forgotten namelist file for new test removing forgotten debug print statements a few more tweaks to baroCAM test case (it was too slow) adding SE-SL tracer test to HOMME regression suite bug fix in cprnc utility when number of times dont match allow optional cprnc RMS tolerance to pass some tests update README adding capability to call cprnc on two subtest results updated baro2c test to use RK instead of LEAPFROG bugfix: HOMME's make check was overwriting baseline generation scripts adding test of the mesh/scrip file generation capability adding ultra-low-res RRM test case using swtc6 Adding RRM test case to HOMME regression suite comment out edge rotation initialization code bugfix in pack and unpack when using RRM
bugfix in pack and unpack when using RRM Fixed an indexing bug when a corner node was coupled to more than 1 element (for RRM grids), and then added tests to prevent these types of bugs in the future. new tests: RRM grids template generation code SE-SL test using baroCamMoist executable Held-Suarez test case BFB with different number of threads HOMME regression test expected failures: swtc1 PASS swtc2 (new RRM test) swtc5 PASS swtc6 rebaseline needed (changed map, added new subtest) baro2b PASS baro2c rebaseline needed (switched from leapfrog to RK) baroCamMoist PASS baroCamMoist-SL (new test) templates (new test) fixes #684 fixes #488 [non-BFB] * origin/mt5555/homme/rrmfix: Remove "phys_area" from output in HOMME template test bug fix - array copy bounds error moved openMP test from expensive baro2b to cheap baroCamMoist splitting baroCamMoist into two seperate tests adding forgotten namelist file for new test removing forgotten debug print statements a few more tweaks to baroCAM test case (it was too slow) adding SE-SL tracer test to HOMME regression suite bug fix in cprnc utility when number of times dont match allow optional cprnc RMS tolerance to pass some tests update README adding capability to call cprnc on two subtest results updated baro2c test to use RK instead of LEAPFROG bugfix: HOMME's make check was overwriting baseline generation scripts adding test of the mesh/scrip file generation capability adding ultra-low-res RRM test case using swtc6 Adding RRM test case to HOMME regression suite comment out edge rotation initialization code bugfix in pack and unpack when using RRM
RRM currently not working due to a bug in the HOMME dycore. It appears this bug dates back to a regression in r4602 in the HOMME NCAR subversion repository. This code was inherited by ACME when we created the ACME HOMME branch and merged it into ACME fall 2015.
The text was updated successfully, but these errors were encountered: