Skip to content

Commit

Permalink
#2663 correct core directory name and update compiler arch files
Browse files Browse the repository at this point in the history
  • Loading branch information
arporter committed Sep 18, 2024
1 parent a64f918 commit ddfe5a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lfric_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ddfe5a4

Please sign in to comment.