Skip to content

Add ecRad test suite - #2637

Open
matthias-ibach wants to merge 1 commit into
ROCm:aomp-devfrom
matthias-ibach:add-ecrad-test-suite
Open

matthias-ibach wants to merge 1 commit into
ROCm:aomp-devfrom
matthias-ibach:add-ecrad-test-suite

Conversation

@matthias-ibach

Copy link
Copy Markdown

Motivation

Add ecRad (ECMWF atmospheric radiation scheme) to the test suite. It is a Fortran OpenMP offload app.

Technical Details

  • manifests/test_24.0.xml: added ecrad (branch master-omp).
  • bin/build_supp.sh: added netcdf-c 4.10.0, netcdf-fortran 4.6.2 (on top of the existing hdf5), ecbuild 3.16.0 (ECMWF CMake macros) and fiat 2.0.1 (ECMWF Fortran library, no MPI. Both are also needed by other ECMWF apps like ecTrans).
  • bin/run_ecrad.sh: Builds ecRad, then run_ecrad_tests runs 1) "ecrad" (the CTest suite) and 2) "ecrad-benchmark" (bit-identity check against a reference. Can be skipped with ECRAD_BENCHMARK=OFF). Benchmark data directoy (input, reference, namelist) are not in this repo. If not found on the cluster (/path/to/ecrad-data), feel free to reach out to me.

Test Plan

Tested from scratch on ringo and r14 with the srock nightly from 2026-10-19 and the cmake from the nightly (3.31.0):

export AOMP=/COD/2026-10-19/srock/llvm
./build_supp.sh netcdf-fortran fiat
EPSDB=1 EPSDB_LIST="ecrad" ./clone_test.sh
ln -s /path/to/data/ecrad-data $AOMP_REPOS_TEST/ecrad-data
./run_ecrad.sh

Test Result

The code has been successfully cloned, build and the test suite has been executed.

Submission Checklist

Add ecRad (ECMWF radiation scheme, OpenMP offload) to the test suite:
- manifests: add ecrad (master-omp)
- build_supp.sh: add netcdf-c, netcdf-fortran, ecbuild and fiat (serial)
- run_ecrad.sh: build ecRad, run the CTest suite and the benchmark with
  comparison against reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant