Skip to content

fix: improve modern diag manager performance (#1634) #27

fix: improve modern diag manager performance (#1634)

fix: improve modern diag manager performance (#1634) #27

name: Tag CI libFMS with AM4 regression
on:
push:
tags:
- '*alpha*'
- '*beta*'
workflow_dispatch:
jobs:
parallelWorks:
runs-on: [self-hosted, pw-platform]
strategy:
fail-fast: false
max-parallel: 3
matrix:
include:
# Runs AM4 with intel18 on AM4_intel18
# - runname: AM4 build and run with intel 18
# runscript: python3 /home/Thomas.Robinson/pw/storage/pw_api_python/AM4_intel18StartClusters.py am4_intel18
# Runs AM4 using a container to build and run the model with intel 21
- runname: AM4 regression with intel 21 and answer check
runscript: python3 /home/Thomas.Robinson/pw/storage/pw_api_python/AM4_intel21StartClusters.py main
steps:
- name: FMS make check on paralellWorks
env:
RUNNAME: ${{ matrix.runname }}
RUNSCRIPT: ${{ matrix.runscript }}
run: $RUNSCRIPT
ShutDownCluster:
runs-on: [self-hosted, pw-platform]
if: always()
needs: [parallelWorks]
strategy:
matrix:
include:
# - cluster: am4_intel18
- cluster: am4_container
steps:
- name: Turn off cluster
env:
CLUSTER: ${{ matrix.cluster }}
run: python3 /home/Thomas.Robinson/pw/storage/pw_api_python/stopClusters.py $CLUSTER