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?
There was a problem hiding this comment.
Other files in this tidy up have been renamed as _mod - should this one be? The rivers equivalent is now rivers_control_mod.F90.
There was a problem hiding this comment.
Good point - renamed
| @@ -89,7 +89,7 @@ extract.path-incl[river] = $extract_path_incl \ | |||
| src/initialisation/standalone/init_output_mod.F90 \ | |||
| src/initialisation/standalone/init_rivers.F90 \ | |||
There was a problem hiding this comment.
Just an observation on a module tidy up ticket - This is the only file left in this include statement from standalone which is not named _mod.F90.
There was a problem hiding this comment.
I'll leave this one as there are a few not named with _mod in that directory. They do all contain modules though
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
| @@ -89,7 +89,7 @@ extract.path-incl[river] = $extract_path_incl \ | |||
| src/initialisation/standalone/init_output_mod.F90 \ | |||
| src/initialisation/standalone/init_rivers.F90 \ | |||
There was a problem hiding this comment.
I'll leave this one as there are a few not named with _mod in that directory. They do all contain modules though
There was a problem hiding this comment.
Good point - renamed
|
|
||
| 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.
PR Summary
Sci/Tech Reviewer: Erica Neininger (@ericaneininger)
Code Reviewer: Pierre Siddall (@Pierre-siddall)
Convert files which are bare subroutines into fortran modules.
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