-
Notifications
You must be signed in to change notification settings - Fork 28
Verniered time calipers pi25 #202
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
base: main
Are you sure you want to change the base?
Conversation
|
The set of new calipers and the implementation all look sound to me @mo-marqh, I have had some issues building the code with vernier though. I checked out your core branch and attempted to build simple diffusion with the |
EdHone
left a comment
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.
Mostly fine - the timers themselves make sense are consistent with those from the KPI exercise in late 2025.
Just a few small requests and queries
| character(*), optional, intent(in) :: value_name | ||
| character(str_def) :: restart_id | ||
| integer(i_def) :: array_dims | ||
| integer(tik) :: id |
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.
Could you change this to something like prof_id or timer_id? Just because there are lots of id variables that get thrown around with XIOS and this is something different.
| integer(i_def) :: vdim ! vertical dimension | ||
| real(dp_xios), allocatable :: xios_data(:) | ||
| logical(l_def) :: legacy | ||
| integer(tik) :: id |
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.
As with the above comment, please could you rename to something less ambiguous
| integer(i_def) :: vdim ! vertical dimension | ||
| real(dp_xios), allocatable :: xios_data(:) | ||
| logical(l_def) :: legacy | ||
| integer(tik) :: id |
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.
Please could you rename to something less ambiguous
|
|
||
| type(linked_list_item_type), pointer :: loop => null() | ||
| type(lfric_xios_file_type), pointer :: file => null() | ||
| integer(tik) :: idlx, idxc |
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.
What's the purpose of having two IDs here?
PR Summary
Sci/Tech Reviewer: @EdHone
Code Reviewer: @t00sa
This stand alone change is part of a change set targeting performance management and optimisation, derived from https://code.metoffice.gov.uk/trac/lfric_apps/ticket/1002
This change set targets the additional and renamed calipers for timings within
lfric_core.Code Quality Checklist
(Some checks are automatically carried out via the CI pipeline)
style guidelines
readability of the code
Testing
using this branch
acceptable (e.g. kgo changes)
tests, unit tests, etc.)
and have been allocated to an appropriate testing group (i.e. the
developer tests are for jobs which use a small amount of compute resource
and complete in a matter of minutes)
trac.log
Test Suite Results - lfric_core - verniered_time_calipers_PI25/run4
Suite Information
Task Information
✅ succeeded tasks - 372
Security Considerations
Performance Impact
performance measurements have been conducted
AI Assistance and Attribution
of Generative AI tool name (e.g., Met Office Github Copilot Enterprise,
Github Copilot Personal, ChatGPT GPT-4, etc) and I have followed the
Simulation Systems AI policy
(including attribution labels)
Documentation
confirmed that it builds correctly
PSyclone Approval
interface, optimisation scripts, LFRic data structure code) then please
contact the
tooscollabdevteam@metoffice.gov.uk
Sci/Tech Review
Please alert the code reviewer via a tag when you have approved the SR
Code Review