Autoconf: FMS 2020.x compatibility testing (diag_axis_mod, data_override_mod)#1396
Conversation
|
It was pointed out by @Hallberg-NOAA that MOM6 cannot build on various 2020.x releases, so some additional tests will be required to improve the FMS fidelity. |
|
I've pushed a change which detects if
It appears to work for these releases:
These results appear to be unrelated or unaffected by the choice of infra (FMS1/2). Presumably newer FMS releases also have this fix. This is probably not the only transitional issue, but it was the main issue which I detected in MOM6-examples and it should act as a proxy for any other 2020.x issues during the FMS1->2 I/O transition. |
11bdf6e to
0162c8f
Compare
|
I've added a |
|
After talking with @adcroft, we agreed that the |
|
I've flipped back on this, and now think that the test should stay as it is. It is not good to rely on Keeping this test is less about compatibility and more of a declaration of support. We don't want to an anonymous user to build a version which cannot call Similarly, we do not necessarily want to run Finally, if someone did need to build using those libraries, they still can do it with native commands (or mkmf or whatever) so we are not preventing such usage. So I would suggest leaving it in. |
The autoconf build was updated to verify that calls to diag_axis_init support the domain_position argument. This was introduced in FMS 2019.01.02, so this acts as an implicit minimum FMS version test. This test is done indirectly by confirming that the valid domain_position values (NORTH, EAST, CENTER) are in diag_axis_mod. A `--with-framework=` flag was also added to select either the FMS1 or FMS2 backend.
c75cda6 to
1d8e909
Compare
|
The runtime For now, we will only ensure that MOM6 can be built using the designated FMS library. Any runtime requirements will be handled as part of a post-build tests, and will be reported as more of a warning rather than a rejection of the build. Part of the rationale for this is that we don't want to prevent builds with older FMS libraries, since they may be required to reproduce older results. We will probably come back to this issue later. We will be in a better position to address this when the code coverage has expanded, including any |
The autoconf build was updated to verify that calls to diag_axis_init
support the domain_position argument. This was introduced in FMS
2019.01.02, so this acts as an implicit minimum FMS version test.
This test is done indirectly by confirming that the valid
domain_position values (NORTH, EAST, CENTER) are in diag_axis_mod.