Conversation
…t an axis has not defined n_glo - unexplained
|
@DanStoneMO would you be able to try out this change in JEDI? I don't believe there is a dependency on this update but it would be useful to try it out in case there are issues that we could get help with. |
svadams
left a comment
There was a problem hiding this comment.
Basically all straightforward changes, there are a couple of xml configurations that I don't think need read access - see my comments on the files
|
|
||
| <file id="lfric_initial" name="lfric_initial" output_freq="1ts" convention="UGRID" enabled=".TRUE."> | ||
| <field_group id="initial_dynamics_fields" freq_op="1ts" operation="once" enabled=".TRUE." > | ||
| <field_group id="initial_dynamics_fields" freq_op="1ts" operation="once" enabled=".TRUE." read_access=".TRUE." > |
There was a problem hiding this comment.
I don't think read access is needed here as this configuration is for writing initial conditions files
|
|
||
| <!-- File definition for checkpoint write timeseries output --> | ||
| <file id="lfric_checkpoint_write" name="lfric_checkpoint_write" mode="write" output_freq="1ts" convention="UGRID" enabled=".TRUE." timeseries="both"> | ||
| <field_group read_access=".TRUE."> |
There was a problem hiding this comment.
I don't think read access is needed here as this configuration is for writing a checkpoint
thomasmelvin
left a comment
There was a problem hiding this comment.
This all looks fine to me
|
I have a branch with accompanying changes in JEDI. Once this is brought back up to date, I will test and link the PR. |
PR Summary
Sci/Tech Reviewer:
Code Reviewer: @svadams
This change introduces XIOS good practice to the definition of fields to be read within XIOS XML config files.
Specifically, the use of
read_access=".TRUE."is recommended for all fields being read.This is implemented in
lfric_appsin different ways, some changes have already been applied tolfric_coreto facilitate this, but many XML files are read directly and used by XIOS client programmes, such aslfric_atmwhilst good practice for using XIOS2, the use of
read_access=".TRUE."is mandatory for future adoption of XIOS3.This change is supposed to be fully backwards compatible, but there are problems with a small number of changes, reverted in cca3a53
this should be understood and documented prior to adoption of this change.
If it is fully backwards compatible, then this can be adopted for XIOS2 use and make evaluation and testing of XIOS3 easier.
Note also that there is a change to the memory overhead for a small number of lfric_atm jobs that run in attached mode, on the shared queue on EX1A:
see 116d32f
this change commit also requires more justification.
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - readAccessXML/run3
Suite Information
Task Information
✅ succeeded tasks - 1511
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review