MetOffice / MetOffice/lfric_apps

Add switches for batches of adjoint tests

Open
#722 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Fortran
Stars
31
Forks
118
Avg merge
2d 4h
Merged PRs (30d)
8

Description

### Are there any linked Issues or Pull Requests?

_No response_

### Brief description

With the adjoint of FFSL kernels we are finding that these tests need a much higher memory to execute. The adjoint tests themselves are getting quite lengthy too and it is useful to run different sections in parallel to locate the failing tests more easily.

I propose that we make sensible batches of tests that are run at any one given time based on a set of configurable booleans in adjoint_tests.

The test-suite should feature a complete set of booleans, in other words across all the test suite tests we should cover every adjoint test algorithm. Each one can then be configured for different timing/memory requirements in the suite.

### Further details of the issue.

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the adjoint_tests configuration and the test-suite entries it controls. Review how the adjoint tests are grouped and identify every adjoint test algorithm that needs a configurable boolean. Done means sensible batches can be selected independently, with the complete suite covered and timing or memory requirements configurable per batch.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.