Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 7 additions & 46 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ jobs:
parflow_dir: "parflow",
model_opts: "eCLM ParFlowGPU"
}
- {
name: "ICON standalone",
use_oasis: "False",
model_opts: "ICON"
}
# - {
# name: "CLM3.5-PDAF",
# use_oasis: "False",
# model_opts: "CLM3.5 PDAF"
# }
- {
name: "eCLM-PDAF",
use_oasis: "False",
Expand Down Expand Up @@ -68,7 +58,7 @@ jobs:
VER_HYPRE: 2.33.0
VER_ECCODES: 2.40.0
VER_OASIS: tsmp-patches-v0.1
VER_ICON_UPSTREAM: release-2026.04-public
CHECKSUM_OASIS: 9b1d8d24efbff1ce7d2b2e4fd75249ea3a9c647c57e4c0a652dc7de695c5ec49
MAKE_JOBS: 4

steps:
Expand Down Expand Up @@ -328,9 +318,7 @@ jobs:
echo "VER_ParFlow=${VER_ParFlow}" >> $GITHUB_OUTPUT
fi

if [[ "${{ matrix.config.name }}" == "ICON standalone" ]]; then
echo "${{ env.VER_ICON_UPSTREAM }} => VER_ICON_UPSTREAM"
elif [[ "${{ matrix.config.name }}" == *"ICON"* ]]; then
if [[ "${{ matrix.config.name }}" == *"ICON"* ]]; then
VER_ICON=$(cat model_versions | grep -w "icon" | cut -d' ' -f1)
echo "${VER_ICON} => VER_ICON"
echo "VER_ICON=${VER_ICON}" >> $GITHUB_OUTPUT
Expand All @@ -357,7 +345,11 @@ jobs:
name: Update OASIS3-MCT submodule ${{ steps.model-versions.outputs.VER_OASIS }}
working-directory: ${{ env.TSMP2_ROOT }}
run: |
pwd && git clone -b $VER_OASIS https://icg4geo.icg.kfa-juelich.de/ExternalReposPublic/oasis3-mct.git
pwd
wget --quiet https://datapub.fz-juelich.de/slts/sw_hpscterrys/oasis3-mct-${VER_OASIS}.tar.gz
echo "${CHECKSUM_OASIS} oasis3-mct-tsmp-patches-v0.1.tar.gz" | sha256sum -c
tar xf oasis3-mct-${VER_OASIS}.tar.gz
mv oasis3-mct-${VER_OASIS} oasis3-mct

- if: matrix.config.use_oasis == 'True' && steps.cache-oasis-restore.outputs.cache-hit != 'true'
name: Cache OASIS3-MCT ${{ env.VER_OASIS }}
Expand Down Expand Up @@ -411,30 +403,6 @@ jobs:
run: |
pwd && git submodule update --init --force .

#
# ICON Standalone
#
- if: matrix.config.name == 'ICON standalone'
name: Restore cached ICON standalone ${{ env.VER_ICON_UPSTREAM }}
uses: actions/cache/restore@v4
id: cache-icon-standalone-restore
with:
path: ${{ env.TSMP2_ROOT }}/models/icon-model
key: ${{ matrix.config.name }}_icon-${{ env.VER_ICON_UPSTREAM }}

- if: matrix.config.name == 'ICON standalone' && steps.cache-icon-standalone-restore.outputs.cache-hit != 'true'
name: Update ICON standalone ${{ env.VER_ICON_UPSTREAM }}
working-directory: ${{ env.TSMP2_ROOT }}/models
run: |
pwd && git clone -b ${{ env.VER_ICON_UPSTREAM }} --recursive https://gitlab.dkrz.de/icon/icon-model.git

- if: matrix.config.name == 'ICON standalone' && steps.cache-icon-standalone-restore.outputs.cache-hit != 'true'
name: Cache ICON standalone ${{ env.VER_ICON_UPSTREAM }}
uses: actions/cache/save@v4
with:
path: ${{ env.TSMP2_ROOT }}/models/icon-model
key: ${{ matrix.config.name }}_icon-${{ env.VER_ICON_UPSTREAM }}

#
# Pre-build checks
#
Expand All @@ -446,10 +414,6 @@ jobs:
echo "Entering 'oasis3-mct'"
echo "$(git -C oasis3-mct describe --tags --always)"
fi
if [[ "${{ matrix.config.name }}" == "ICON standalone" ]]; then
echo "Entering 'models/icon-model'"
echo "$(git -C models/icon-model describe --tags --always)"
fi

- name: Check TSMP2 dependencies
working-directory: ${{ env.DEPENDENCIES_ROOT }}
Expand All @@ -469,9 +433,6 @@ jobs:
if [[ "${{ matrix.config.use_oasis }}" == "True" ]]; then
MODEL_OPTS="${MODEL_OPTS} --OASIS_SRC ${TSMP2_ROOT}/oasis3-mct"
fi
if [[ "${{ matrix.config.name }}" == "ICON standalone" ]]; then
MODEL_OPTS="${MODEL_OPTS} --ICON_SRC ${TSMP2_ROOT}/models/icon-model"
fi
BUILD_TSMP2_CMD="./build_tsmp2.sh ${MODEL_OPTS} --no_update --parallel ${MAKE_JOBS}"
echo $BUILD_TSMP2_CMD && echo ""
eval $BUILD_TSMP2_CMD
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[submodule "models/eCLM"]
path = models/eCLM
url = https://github.com/HPSCTerrSys/eCLM.git
branch = master-parallel-build
branch = rc-0.1
[submodule "models/oasis3-mct"]
path = models/oasis3-mct
url = https://icg4geo.icg.kfa-juelich.de/ExternalReposPublic/oasis3-mct
Expand Down
34 changes: 0 additions & 34 deletions env/jsc.2023.intel.psmpi

This file was deleted.

44 changes: 0 additions & 44 deletions env/jsc.2024.intel.psmpi

This file was deleted.

Loading