4242 push
4343
4444env :
45- LFRIC_APPS_HASH : bea4e73b4fafebb6406aa91cc3aceb39b050f68c
45+ LFRIC_APPS_HASH : 7c8582ccbbffedf315da5784cb27c1b38ceec29e
4646 PYTHON_VERSION : " 3.14"
4747 GNU_TOOLCHAIN : gnu14_openmpi
4848 NVHPC_TOOLCHAIN : nvhpc26_3_openmpi
@@ -127,7 +127,7 @@ jobs:
127127 export OMP_NUM_THREADS=1
128128 export START_TIME=$SECONDS
129129 mpirun -n 12 ../bin/gungho_model configuration.nml
130- diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-gnu-12r-1t.txt gungho_model-checksums.txt || true
130+ diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-gnu-12r-1t.txt gungho_model-checksums.txt
131131 export VAR_TIME=$((${SECONDS}-${START_TIME}))
132132 echo "time=${VAR_TIME}" >> "${GITHUB_OUTPUT}"
133133
@@ -150,7 +150,7 @@ jobs:
150150 # Clean previous version and compile again
151151 rm -rf working-gh-ompoffload
152152 export BUILD_START="${SECONDS}"
153- LFRIC_OFFLOAD_DIRECTIVES=omp ./build/local_build.py -j ${NUM_PARALLEL} -p psyclone-test \
153+ LFRIC_OFFLOAD_DIRECTIVES=omp_uniform ./build/local_build.py -j ${NUM_PARALLEL} -p psyclone-test \
154154 -w working-gh-ompoffload gungho_model |& tee output.txt
155155 # Piping to tee ignores the errcode of the first command, make sure we account for it
156156 if [[ ${PIPESTATUS[0]} -ne 0 ]]; then
@@ -164,7 +164,8 @@ jobs:
164164 export CUDA_VISIBLE_DEVICES=1
165165 export START_TIME=$SECONDS
166166 mpirun -n 1 ../bin/gungho_model configuration.nml
167- diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-nvhpc-1r-12t.txt gungho_model-checksums.txt || true
167+ # TODO #3207: Results not fully_reproducible with CPU
168+ python ${PSYCLONE_LFRIC_DIR}/compare_output.py ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-nvhpc-1r-12t.txt gungho_model-checksums.txt
168169 export VAR_TIME=$((${SECONDS}-${START_TIME}))
169170 echo "time=${VAR_TIME}" >> "${GITHUB_OUTPUT}"
170171 echo "build_time=${BUILD_ELAPSED}" >> "${GITHUB_OUTPUT}"
@@ -187,15 +188,16 @@ jobs:
187188 cp ${PSYCLONE_LFRIC_DIR}/gpu_offloading.py ${OPT_DIR}/global.py
188189 # Clean previous version and compile again
189190 rm -rf working-gh-accoffload
190- LFRIC_OFFLOAD_DIRECTIVES=acc ./build/local_build.py -j ${NUM_PARALLEL} -p psyclone-test \
191+ LFRIC_OFFLOAD_DIRECTIVES=acc_uniform ./build/local_build.py -j ${NUM_PARALLEL} -p psyclone-test \
191192 -w working-gh-accoffload gungho_model
192193 cd applications/gungho_model/example
193194 rm -f timer.txt gungho_model-checksums.txt # In case there were from a previous run
194195 export OMP_NUM_THREADS=12
195196 export CUDA_VISIBLE_DEVICES=1
196197 export START_TIME=$SECONDS
197198 mpirun -n 1 ../bin/gungho_model configuration.nml
198- diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-nvhpc-1r-12t.txt gungho_model-checksums.txt || true
199+ # TODO #3207: Results not fully_reproducible with CPU
200+ python ${PSYCLONE_LFRIC_DIR}/compare_output.py ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-nvhpc-1r-12t.txt gungho_model-checksums.txt
199201 export VAR_TIME=$((${SECONDS}-${START_TIME}))
200202 echo "time=${VAR_TIME}" >> "${GITHUB_OUTPUT}"
201203
@@ -224,7 +226,7 @@ jobs:
224226 export OMP_NUM_THREADS=4
225227 export START_TIME=$SECONDS
226228 mpirun -n 6 ../bin/gungho_model configuration.nml
227- diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-gnu-6r-4t.txt gungho_model-checksums.txt || true
229+ diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-gnu-6r-4t.txt gungho_model-checksums.txt
228230 export VAR_TIME=$((${SECONDS}-${START_TIME}))
229231 echo "time=${VAR_TIME}" >> "${GITHUB_OUTPUT}"
230232
@@ -253,7 +255,8 @@ jobs:
253255 export OMP_NUM_THREADS=4
254256 export START_TIME=$SECONDS
255257 mpirun -n 6 ../bin/gungho_model configuration.nml
256- diff ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-gnu-6r-4t.txt gungho_model-checksums.txt || true
258+ # TODO #3207: Results not fully_reproducible (one digit divergence)
259+ python ${PSYCLONE_LFRIC_DIR}/compare_output.py ${PSYCLONE_LFRIC_DIR}/KGOs/gungho_model-checksums-gnu-6r-4t.txt gungho_model-checksums.txt
257260 export VAR_TIME=$((${SECONDS}-${START_TIME}))
258261 echo "time=${VAR_TIME}" >> "${GITHUB_OUTPUT}"
259262
@@ -281,7 +284,7 @@ jobs:
281284 OMP_NUM_THREADS=8 mpirun -n 1 ../bin/lfric_atm configuration.nml
282285
283286 # And compare the results
284- diff ${PSYCLONE_LFRIC_DIR}/KGOs/lfric_atm-checksums-gnu-1r-8t.txt lfric_atm-checksums.txt || true
287+ diff ${PSYCLONE_LFRIC_DIR}/KGOs/lfric_atm-checksums-gnu-1r-8t.txt lfric_atm-checksums.txt
285288 export VAR_TIME=$((${SECONDS}-${START_TIME}))
286289 echo "time=${VAR_TIME}" >> "${GITHUB_OUTPUT}"
287290 echo "build_time=${BUILD_ELAPSED}" >> "${GITHUB_OUTPUT}"
0 commit comments