Skip to content

Commit

Permalink
change paths to be version agnostic for future updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored Nov 26, 2024
1 parent 1bb8412 commit 5efb5f6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/pw_am5_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ jobs:
rm -rf am5_src am5_build
mkdir am5_src
mkdir am5_build
ln -s /contrib/am5/ci/am5f8d1r0/src/am5_phys am5_src/am5_phys
ln -s /contrib/am5/ci/am5f8d1r0/src/atmos_drivers am5_src/atmos_drivers
ln -s /contrib/am5/ci/am5f8d1r0/src/GFDL_atmos_cubed_sphere am5_src/GFDL_atmos_cubed_sphere
ln -s /contrib/am5/ci/am5f8d1r0/src/GRTCODE am5_src/GRTCODE
ln -s /contrib/am5/ci/am5f8d1r0/src/ice_param am5_src/ice_param
ln -s /contrib/am5/ci/am5f8d1r0/src/land_lad2 am5_src/land_lad2
ln -s /contrib/am5/ci/am5f8d1r0/src/mom6 am5_src/mom6
ln -s /contrib/am5/ci/am5f8d1r0/src/ocean_BGC am5_src/ocean_BGC
ln -s /contrib/am5/ci/am5f8d1r0/src/rte-ecckd am5_src/rte-ecckd
ln -s /contrib/am5/ci/am5f8d1r0/src/rte-rrtmgp am5_src/rte-rrtmgp
ln -s /contrib/am5/ci/am5f8d1r0/src/coupler am5_src/coupler
ln -s /contrib/am5/ci/latest/src/am5_phys am5_src/am5_phys
ln -s /contrib/am5/ci/latest/src/atmos_drivers am5_src/atmos_drivers
ln -s /contrib/am5/ci/latest/src/GFDL_atmos_cubed_sphere am5_src/GFDL_atmos_cubed_sphere
ln -s /contrib/am5/ci/latest/src/GRTCODE am5_src/GRTCODE
ln -s /contrib/am5/ci/latest/src/ice_param am5_src/ice_param
ln -s /contrib/am5/ci/latest/src/land_lad2 am5_src/land_lad2
ln -s /contrib/am5/ci/latest/src/mom6 am5_src/mom6
ln -s /contrib/am5/ci/latest/src/ocean_BGC am5_src/ocean_BGC
ln -s /contrib/am5/ci/latest/src/rte-ecckd am5_src/rte-ecckd
ln -s /contrib/am5/ci/latest/src/rte-rrtmgp am5_src/rte-rrtmgp
ln -s /contrib/am5/ci/latest/src/coupler am5_src/coupler
- name: Checkout FMS
uses: actions/checkout@v4
with:
path: am5_src/FMS
- name: Build AM5 in Intel container
run: /contrib/am5/ci/am5f8d1r0/container_build.sh
run: /contrib/am5/ci/latest/container_build.sh
- name: Check build succeeded
run: stat ${GITHUB_WORKSPACE}/am5_build/fms_am5f8d1r0_compile.x
run: stat ${GITHUB_WORKSPACE}/am5_build/fms_am5*_compile.x

run_AM5:
runs-on: [self-hosted, pw-platform]
Expand All @@ -54,4 +54,4 @@ jobs:
cd am5_run
rm -f *.nc.* RESTART/*.nc.*
- name: Launch runscript
run: /contrib/am5/ci/am5f8d1r0/run.sh
run: /contrib/am5/ci/latest/run.sh

0 comments on commit 5efb5f6

Please sign in to comment.