Repository navigation
Update LfricApps to allow for kernel API changes in Core Science components (Tranche 1) - #654
Ricky Wong (mo-rickywong) wants to merge 76 commits into
Conversation
DanStoneMO
left a comment
There was a problem hiding this comment.
Tested JEDI with this and it ran fine, no linked PR needed for it
thomasmelvin
left a comment
There was a problem hiding this comment.
Looks good to me, one trivial comment for consideration
Thomas Bendall (tommbendall)
left a comment
There was a problem hiding this comment.
I used this diff to check changes to the predecessor PR: mo-rickywong/lfric_apps@AppsDecoupleGeoTop...mo-rickywong:lfric_apps:AppsCleanFeigners_1
The Apps changes explain my question on the linked Core PR about why config is passed as an argument to the solver apply method.
Happy to approve
|
I've marked this as passing science review so is ready for code review Steve Mullerworth (@stevemullerworth) |
…pps into AppsCleanFeigners_1
DrTVockerodtMO
left a comment
There was a problem hiding this comment.
Changes look fine, I've suggested some small style fixes.
| class(abstract_vector_type), intent(in) :: x | ||
| class(abstract_vector_type), intent(inout) :: y | ||
|
|
||
| type(config_type), intent(in) :: config |
There was a problem hiding this comment.
| type(config_type), intent(in) :: config | |
| type(config_type), intent(in) :: config |
|
|
||
| ! Adjoint | ||
| call atl_end_conservative_step_alg( field_np1, field_in, & | ||
| call atl_end_conservative_step_alg( field_np1, field_in, & |
There was a problem hiding this comment.
This can be reverted.
| call atl_end_conservative_step_alg( field_np1, field_in, & | |
| call atl_end_conservative_step_alg( field_np1, field_in, & |
|
Blocking branches are now on trunk. This branch has been moved to head of trunk and tested with its linked CorePR. It is now ready for Code Review |
PR Summary
Sci/Tech Reviewer: Thomas Bendall (@tommbendall)
Code Reviewer: Steve Mullerworth (@stevemullerworth)
Update Apps repository as impacted by changes in lfric_core PR MetOffice/lfric_core#440. This is a result of changes to the api of kernels in an initial tranche of updates in lfric_core.
This PR updates applications in LFRic apps by:
Passing of
config_typeto algorithms that call affected kernels.Extraction of the required namelist variables to be passed by argument.
Where applicable, passing of
mesh_idis replaced with passing the mesh object itself, withconfig, mesharguments at the beginning of argument lists.Note: geology/topology is not extracted from
base_mesh_config, it is queried from the mesh object.base_meshwas only intended for use by top-level application driver code, the intention is to phase out parts ofbase_meshand delegate that functionality to individual applications. (see blocking PRS)Linked PRs
This PR is blocked
base_mesh_configgeometry/topologyenumerations #757Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - AppsCleanFeigners_1/run1
Suite Information
Task Information
✅ succeeded tasks - 1218
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