MetOffice / MetOffice/PSyTran

PSyclone support for scalar arguments in intergrid kernels

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

LFRic apps PSyclone issue PSyKAl-lite
Dominant language
Python
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

PSyclone doesn't currently support the option for scalar arguments in intergrid kernels, which was needed in [LFRic #3999](https://code.metoffice.gov.uk/trac/lfric/ticket/3999) The following PSyKAl-lite functions exist in LFRic apps because of this -

* `invoke_prolong_multidata_scalar_kernel_type`
* `invoke_restrict_multidata_scalar_kernel_type`
* `invoke_prolong_multidata_linear_kernel_type`

which are found in LFRic apps `science/gungho/source/psy/psykal_lite_mod`. These are all called by `science/gungho/source/algorithm/core_dynamics/intermesh_mappings_alg_mod.x90`. The corresponding PSyclone ticket for this is [PSyclone #2504](https://github.com/stfc/PSyclone/issues/2504).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with PSyclone issue #2504, then inspect the listed PSyKAl-lite functions in science/gungho/source/psy/psykal_lite_mod and their calls from science/gungho/source/algorithm/core_dynamics/intermesh_mappings_alg_mod.x90. Confirm the required scalar-argument behavior and identify how the three existing functions depend on that support. Done means the corresponding PSyTran/LFRic workflow no longer requires these workaround functions.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran, python
Domain
compilers, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.