From c31db27fb6df40566147abbdcd8c489f824cc9c9 Mon Sep 17 00:00:00 2001 From: Jason Boutte Date: Wed, 2 Oct 2024 12:51:17 -0700 Subject: [PATCH] Downgrades libnetcdf for e3sm --- .github/workflows/testing.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 692d995f961..d477f799025 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -174,6 +174,14 @@ jobs: conda activate base + # container libnetcdf is 4.9.2 as cesm requires esmf >8.6.1 + # e3sm scorpio incompatible with 4.9.2, downgrade to 4.9.1 + # only reference found about scorpio incompatibility with 4.9.2 (https://github.com/E3SM-Project/scorpio/issues/554#issuecomment-1877361470) + # TODO open scorpio issue, possible solutions; 1. support two conda environments in container 2. maybe move from conda to spack? build all libraries in image + if [[ "${CIME_MODEL}" == "e3sm" ]]; then + mamba install -y 'libnetcdf=4.9.1' + fi + pytest -vvv --cov=CIME --machine docker --no-fortran-run --no-teardown CIME/tests/test_sys* - uses: mxschmitt/action-tmate@v3 if: ${{ !always() }}