-
Notifications
You must be signed in to change notification settings - Fork 5
New CI test to build iturbo #226
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0fd8732
New CI test to build iturbo
mnlevy1981 721029b
Update to latest MOM6, TIM, and FMS2
mnlevy1981 8ed2914
Fix whitespace in new test YAML file
mnlevy1981 d412cf4
Cleanup recommended by the AI
mnlevy1981 0f6d05e
Merge branch 'main' into test_iturbo
mnlevy1981 6ca1c90
Use git log -1 to avoid pipe error
mnlevy1981 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| name: Build iturbo branch of MOM6 with TIM and FMS | ||
|
|
||
| # See the following link for more information on the NCAR HPC development containers: | ||
| # https://hub.docker.com/u/ncarcisl | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: ["main", "ci-tests", "container-ci"] | ||
| pull_request: | ||
| branches: ["main", "ci-tests", "container-ci"] | ||
|
|
||
| jobs: | ||
|
|
||
| run-matrix: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| compiler: [ oneapi, gcc14 ] | ||
| mpi: [ mpich ] | ||
| gpu: [ nogpu ] | ||
| arch: [ x86_64 ] | ||
| runner: [ ubuntu-latest, gha-runner-turbo ] | ||
|
|
||
| name: Build Test | ||
| runs-on: ${{ matrix.runner }} | ||
| defaults: | ||
| run: | ||
| shell: bash -elo pipefail {0} | ||
|
|
||
| container: | ||
| image: docker.io/ncarcisl/cisldev-${{ matrix.arch }}-almalinux9-${{ matrix.compiler }}-${{ matrix.mpi }}${{ matrix.gpu == 'cuda' && '-cuda' || '' }} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: 'recursive' | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Switch MOM6 to dev/turbo-debug | ||
| run: | | ||
| cd submodules/MOM6/ | ||
| git fetch origin | ||
| git checkout --recurse-submodules dev/turbo-debug | ||
| echo "Head of dev/turbo-debug is this commit:" | ||
| git log -1 --decorate | ||
| cd ../.. | ||
|
|
||
| - name: Interrogate Runtime Environment | ||
| run: | | ||
| cat /container/config_env.sh | ||
| lscpu | ||
| echo && echo && echo | ||
| echo '----------------------------------------------------------------' | ||
| echo && echo && echo | ||
| echo "CC=${CC}" | ||
| echo "CXX=${CXX}" | ||
| echo "FC=${FC}" | ||
| echo "F77=${F77}" | ||
| echo | ||
| echo "CFLAGS=${CFLAGS}" | ||
| echo "CPPFLAGS=${CPPFLAGS}" | ||
| echo "CXXFLAGS=${CXXFLAGS}" | ||
| echo "FCFLAGS=${FCFLAGS}" | ||
| echo "F77FLAGS=${F77FLAGS}" | ||
| export CC CXX FC F77 CFLAGS CXXFLAGS FCFLAGS F77FLAGS CPPFLAGS | ||
| conda --version 2>/dev/null || echo " --> no conda in this container" | ||
| which mpicc | ||
| mpicc --version 2>/dev/null || true | ||
|
|
||
| - name: Build MOM6 with TIM | ||
| run: | | ||
| ./build.sh --compiler ${COMPILER_FAMILY} --machine container --infra TIM | ||
| if [[ ! `nm --print-armap bin/${COMPILER_FAMILY}/MOM6_using_TIM/MOM6-infra/libinfra-TIM.a | grep tim_com` ]]; then | ||
| echo "ERROR: Did not find tim_com in libinfra-TIM.a (did TIM module change name?)" | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Build MOM6 with FMS2 | ||
| run: | | ||
| ./build.sh --compiler ${COMPILER_FAMILY} --machine container --infra FMS2 | ||
| if [[ `nm --print-armap bin/${COMPILER_FAMILY}/MOM6_using_FMS2/MOM6-infra/libinfra-FMS2.a | grep tim_com` ]]; then | ||
| echo "ERROR: Found tim_com in libinfra-FMS2.a (=> using TIM infra, not FMS)" | ||
| exit 1 | ||
| fi | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CESM_share
deleted from
b2fa12
Submodule FMS2
updated
20 files
| +1 −1 | .github/workflows/build_cmake_gnu.yml | |
| +0 −36 | .github/workflows/build_ubuntu_gnu.yml | |
| +0 −27 | .github/workflows/coupler.yml | |
| +7 −9 | .github/workflows/intel_pr.yml | |
| +23 −14 | constants/cesm_constants.fh | |
| +0 −1 | constants/fmsconstants.F90 | |
| +1 −0 | diag_manager/Makefile.am | |
| +11 −8 | diag_manager/diag_manager.F90 | |
| +4 −4 | diag_manager/diag_util.F90 | |
| +64 −64 | diag_manager/mppnccombine.c | |
| +2 −2 | fms2_io/netcdf_io.F90 | |
| +337 −70 | mpp/include/group_update_pack.inc | |
| +68 −20 | mpp/include/group_update_unpack.inc | |
| +9 −0 | mpp/include/mpp_comm_mpi.inc | |
| +69 −9 | mpp/include/mpp_group_update.fh | |
| +10 −5 | mpp/include/mpp_transmit.inc | |
| +24 −5 | mpp/include/mpp_transmit_mpi.fh | |
| +4 −1 | mpp/include/mpp_transmit_nocomm.fh | |
| +1 −1 | test_fms/fms2_io/test_domain_io.F90 | |
| +0 −118 | test_fms/mpp/test_mpp_gatscat.F90 |
Submodule TIM
updated
15 files
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.