MetOffice / MetOffice/PSyTran

PSyclone builtins for min/max reduction on a local field

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

Nobody has claimed this yet.

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

Description

PSyclone doesn't currently have any builtins that perform a minimisation/maximisation reduction on a local field.

There are currently 3 PSyKAl-lite routines which exist because of this issue; those are:

- `invoke_real32_local_field_min_max`
- `invoke_real64_local_field_min_max`
- `invoke_int32_local_field_min_max`

which are found in LFRic core `components/science/source/psy/sci_psykal_builtin_light_mod`. These are all called by `components/science/source/algorithm/sci_field_minmax_alg_mod.f90` in LFRic core.

I was unable to find any reference to a specific PSyclone issue.

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 by reading the three PSyKAl-lite routines in components/science/source/psy/sci_psykal_builtin_light_mod and their callers in components/science/source/algorithm/sci_field_minmax_alg_mod.f90. Trace how PSyclone represents existing builtins and determine what is needed for local-field minimisation and maximisation reductions. Done means PSyclone supports these reductions without the three LFRic-specific routines.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran, python
Domain
compilers, devtools
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.