|
12 | 12 | # Flags and KGOs for Intel Fortran Compiler Classic
|
13 | 13 | - compiler: ifort
|
14 | 14 | fcflags: -m64 -g -traceback -heap-arrays -assume realloc_lhs -extend-source 132 -check bounds,uninit,pointers,stack -stand f08
|
15 |
| - gdkgo1: https://docs.google.com/uc?export=download&id=1R6uvtWno-bhdgxACCwdcaRNXs9l5_G4w |
16 |
| - gdkgo2: https://docs.google.com/uc?export=download&id=1bVU1_dx6hXcV_fHX2cLUn-D03T-Hij8z |
17 | 15 | # Flags and KGOs for Intel Fortran Compiler
|
18 | 16 | - compiler: ifx
|
19 | 17 | fcflags: -debug -traceback -O0 -heap-arrays -assume realloc_lhs -extend-source 132 -stand f08
|
20 |
| - gdkgo1: https://docs.google.com/uc?export=download&id=1CLPJ1ikAcGBEiZ3WAGqL-zpaPIgC__po |
21 |
| - gdkgo2: https://docs.google.com/uc?export=download&id=1JOrLFbt0BYgpD0h6A3tsoRD4iTJ4jDvZ |
22 | 18 | # Set container images
|
23 | 19 | - compiler: ifort
|
24 | 20 | image: ghcr.io/earth-system-radiation/rte-rrtmgp-ci:oneapi
|
|
41 | 37 | ATOL: 0.0
|
42 | 38 | RTOL: 0.0
|
43 | 39 | KGO_VERSION: ${{ matrix.kgo_version }}
|
44 |
| - GDKGO1: ${{ matrix.gdkgo1 }} |
45 |
| - GDKGO2: ${{ matrix.gdkgo2 }} |
46 | 40 | steps:
|
47 | 41 | #
|
48 | 42 | # Checks-out repository under $GITHUB_WORKSPACE
|
@@ -71,30 +65,11 @@ jobs:
|
71 | 65 | cd build
|
72 | 66 | make -j driver
|
73 | 67 | # Retrieve and expand large data files
|
74 |
| - - name: Retrieve input files |
75 |
| - run: | |
76 |
| - GDFILE='https://docs.google.com/uc?export=download&id=17eK4_DVEvFOE9Uf6siXJDpWZJKT1aqkU' |
77 |
| - OUTPATH=driver/data/inputs/UKMO/cosp_input.um_global.nc.gz |
78 |
| - curl -sSfL -o $OUTPATH $GDFILE |
79 |
| - gunzip ${OUTPATH} |
80 |
| - cd driver/data/inputs/UKMO |
81 |
| - md5sum -c cosp_input.um_global.nc.md5 |
82 |
| - - name: Retrieve KGOs for basic test |
83 |
| - run: | |
84 |
| - cd ${GITHUB_WORKSPACE} |
85 |
| - OUTPATH=driver/data/outputs/UKMO/cosp2_output_um.$F90.kgo.$KGO_VERSION.nc.gz |
86 |
| - curl -sSfL -o $OUTPATH $GDKGO1 |
87 |
| - gunzip ${OUTPATH} |
88 |
| - cd driver/data/outputs/UKMO |
89 |
| - # md5sum -c cosp2_output_um.${F90}.kgo.$KGO_VERSION.nc.md5 |
90 |
| - - name: Retrieve KGOs for global test |
| 68 | + - name: Retrieve input files and KGOs |
91 | 69 | run: |
|
| 70 | + cd driver |
| 71 | + . download_test_data.sh ${F90} |
92 | 72 | cd ${GITHUB_WORKSPACE}
|
93 |
| - OUTPATH=driver/data/outputs/UKMO/cosp2_output.um_global.${F90}.kgo.$KGO_VERSION.nc.gz |
94 |
| - curl -sSfL -o $OUTPATH $GDKGO2 |
95 |
| - gunzip ${OUTPATH} |
96 |
| - cd driver/data/outputs/UKMO |
97 |
| - # md5sum -c cosp2_output.um_global.${F90}.kgo.$KGO_VERSION.nc.md5 |
98 | 73 | ###############################################################################
|
99 | 74 | # Run COSP2 tests. Basic test and UM global snapshot
|
100 | 75 | ###############################################################################
|
|
0 commit comments