Remove bare subroutines - #135
Conversation
Erica Neininger (ericaneininger)
left a comment
There was a problem hiding this comment.
Not a lot of issues with this - could you just put a note in the description about the separation of control subroutines for standalone and standalone_rivers please?
Co-authored-by: Erica Neininger <107684099+ericaneininger@users.noreply.github.com>
James Bruten (james-bruten-mo)
left a comment
There was a problem hiding this comment.
Thanks Erica, mostly sorted
|
|
||
| CONTAINS | ||
|
|
||
| SUBROUTINE standalone_control ( & |
There was a problem hiding this comment.
I was wondering why it was necessary to rename control -> standalone_control and similarly control -> rivers_control. The fcm make only includes the relevant version. The rivers standalone code shares code where possible with jules standalone and has their own versions where necessary. The control versions are now special cases.
Erica Neininger (ericaneininger)
left a comment
There was a problem hiding this comment.
Thanks for addressing those comments. Approving sci/tech
Pierre Siddall (Pierre-siddall)
left a comment
There was a problem hiding this comment.
Thanks James Bruten (@james-bruten-mo) , this looks good to me given that it most adds namespace guardrails. Approved and heading into testing shortly.
e8a01e5
into
MetOffice:main
Co-authored-by: Erica Neininger <107684099+ericaneininger@users.noreply.github.com> Co-authored-by: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com>
PR Summary
Sci/Tech Reviewer: Erica Neininger (@ericaneininger)
Code Reviewer: Pierre Siddall (@Pierre-siddall)
Convert files which are bare subroutines into fortran modules.
This PR also renames the 2
controlsubroutines for clarity and to avoid potential namespace collisions. The are changed tocontrol_standaloneandcontrol_rivers, both contained in a similarly named module.Code Quality Checklist
(Some checks are automatically carried out via the CI pipeline)
rose-meta/jules-sharedthen have you supplied a linked UM and LFRic Apps PR?Testing
trac.log
Test Suite Results - jules - jules_add_modules/run1
Suite Information
Task Information
✅ succeeded tasks - 676
Test Suite Results - um - um_for_jules_mods/run1
Suite Information
Approvals
Code Owners
Config Owners
No UM Config Owners Required
Task Information
✅ succeeded tasks - 895
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
Approvals
Please request all relevant approvals. See the CodeOwners.txt file for section owners.
Technical
Scientific
Sci/Tech Review
Please alert the code reviewer via a tag when you have approved the SR
Code Review