fix: improve modern diag manager performance (#1634)
[FMS.git] / .github / workflows / parallelworks_am4_intel.yml
blob7c4cbf49787a5320700de6061ca721202fd4b9bb
1 name: Tag CI libFMS with AM4 regression
3 on:
4    push:
5         tags:
6              - '*alpha*'
7              - '*beta*'
8    workflow_dispatch:
9 jobs:
10    parallelWorks:
11     runs-on: [self-hosted, pw-platform]
12     strategy:
13       fail-fast: false
14       max-parallel: 3
15       matrix:
16         include:
17 # Runs AM4 with intel18 on AM4_intel18
18 #                - runname: AM4 build and run with intel 18
19 #                  runscript: python3 /home/Thomas.Robinson/pw/storage/pw_api_python/AM4_intel18StartClusters.py am4_intel18
20 # Runs AM4 using a container to build and run the model with intel 21
21                 - runname: AM4 regression with intel 21 and answer check
22                   runscript: python3 /home/Thomas.Robinson/pw/storage/pw_api_python/AM4_intel21StartClusters.py main
24     steps:
25                 - name: FMS make check on paralellWorks
26                   env:
27                           RUNNAME: ${{ matrix.runname }}
28                           RUNSCRIPT: ${{ matrix.runscript }}
29                   run: $RUNSCRIPT
30    ShutDownCluster:
31     runs-on: [self-hosted, pw-platform]
32     if: always()
33     needs: [parallelWorks]
34     strategy:
35       matrix:
36         include:
37 #                - cluster: am4_intel18
38                 - cluster: am4_container
39     steps:
40                 - name: Turn off cluster
41                   env:
42                           CLUSTER: ${{ matrix.cluster }}
43                   run: python3 /home/Thomas.Robinson/pw/storage/pw_api_python/stopClusters.py $CLUSTER