Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add am5 CI workflow #1555

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4bf6d92
Create pw_am5_intel.yaml
rem1776 Jun 20, 2024
6775704
remove redundant srun from run command
rem1776 Jun 21, 2024
dafc9fe
Update pw_am5_intel.yaml
rem1776 Jun 24, 2024
144f115
Merge branch 'NOAA-GFDL:main' into am5-pw
rem1776 Jun 24, 2024
0536f0f
Merge pull request #119 from rem1776/am5-pw
rem1776 Jun 25, 2024
a85a3ec
Update pw_am5_intel.yaml
rem1776 Jun 25, 2024
5b5fb34
Update pw_am5_intel.yaml
rem1776 Jun 25, 2024
9f035e1
revert checkout actions for centos7
rem1776 Jun 25, 2024
8496de3
update path for nml/tables + copy MOM asciis directly
rem1776 Jun 28, 2024
77866db
add command to copy over txt files
rem1776 Jun 28, 2024
d4e7ed8
simplify run dir setup; get rid of symlink usage
rem1776 Jul 1, 2024
f8ff91b
Update pw_am5_intel.yaml
rem1776 Jul 1, 2024
1cbc455
add weekly scheduled trigger and conditional for run
rem1776 Jul 2, 2024
dac4681
clean up run directory between runs
rem1776 Jul 3, 2024
d9148ac
remove run section for now
rem1776 Jul 11, 2024
15334dd
Merge remote-tracking branch 'upstream/main'
Jul 22, 2024
ee8b74d
replace cron trigger with pull request
Jul 22, 2024
fab25d4
add concurrency section
Jul 22, 2024
e84a2b8
Merge branch 'NOAA-GFDL:main' into am5-ci
rem1776 Sep 5, 2024
0c9a2d1
updates to migrate to google cloud
rem1776 Sep 5, 2024
6373e8d
Merge branch 'NOAA-GFDL:main' into am5-ci
rem1776 Nov 12, 2024
f45bbc7
update paths for latest am5 version on new cluster
rem1776 Nov 12, 2024
13ee668
remove coupler checkout
rem1776 Nov 12, 2024
b1ebe24
fix check at end of build
rem1776 Nov 12, 2024
1bb8412
remove whitespace
rem1776 Nov 14, 2024
5efb5f6
change paths to be version agnostic for future updates
rem1776 Nov 26, 2024
7261f5e
Changes to keep directories from older runs
rem1776 Dec 4, 2024
601b593
add -p so mkdir doesn't fail on retries
rem1776 Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/pw_am5_intel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: AM5 test
on:
push:
tags:
- '*alpha*'
- '*beta*'
pull_request:
workflow_dispatch:

# cancel running jobs if theres a newer push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
compile_AM5:
runs-on: [self-hosted, pw-platform]
strategy:
fail-fast: false
steps:
- name: Setup source and build directories
run: |
mkdir -p ${GITHUB_SHA}
cd ${GITHUB_SHA}
mkdir -p am5_src
mkdir -p am5_build
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: ${{github.sha}}/am5_src/FMS
- name: Build AM5 in Intel container
run: /contrib/am5/ci/latest/container_build.sh
- name: Check build succeeded
run: stat ${GITHUB_WORKSPACE}/${GITHUB_SHA}/am5_build/fms_am5*_compile.x

run_AM5:
runs-on: [self-hosted, pw-platform]
strategy:
fail-fast: false
needs: [compile_AM5]
steps:
- name: Create run directory
run: |
cd ${GITHUB_SHA}
mkdir -p am5_run
- name: Launch runscript
run: /contrib/am5/ci/latest/run.sh
Loading