From ddfe5a465568f02dfc142f34e76949dac5af1d77 Mon Sep 17 00:00:00 2001 From: Andrew Porter Date: Wed, 18 Sep 2024 17:16:57 +0100 Subject: [PATCH] #2663 correct core directory name and update compiler arch files --- .github/workflows/lfric_test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lfric_test.yml b/.github/workflows/lfric_test.yml index 3476e80216..e49f667bd6 100644 --- a/.github/workflows/lfric_test.yml +++ b/.github/workflows/lfric_test.yml @@ -91,10 +91,13 @@ jobs: cp -r ${HOME}/LFRic/lfric_apps_${LFRIC_APPS_REV} ${HOME}/LFRic/gpu_build/lfric_apps cp -r ${HOME}/LFRic/lfric_core_50869 ${HOME}/LFRic/gpu_build/. cd ${HOME}/LFRic/gpu_build - # We need 'lfric_core' for the patch to work but lfric_apps expects + # We need 'lfric' for the patch to work but lfric_apps expects # to find lfric_core in 'lfric_core_50869' - ln -sf lfric_core_50869 lfric_core + ln -sf lfric_core_50869 lfric patch -p1 < ../lfric_${LFRIC_APPS_REV}_nvidia.patch + # Update the compiler definitions to build for GPU + cp ../nvfortran.mk lfric/infrastructure/build/fortran/. + cp ../nvc++.mk lfric/infrastructure/build/cxx/. export LFRIC_DIR=${HOME}/LFRic/gpu_build/lfric_apps export OPT_DIR=${LFRIC_DIR}/applications/gungho_model/optimisation/psyclone-test cd ${LFRIC_DIR}