Skip to content

Commit 97139ab

Browse files
authored
Merge branch 'develop' into omega/wind-forcing-and-bottom-drag
2 parents f5599f3 + 16ee28f commit 97139ab

File tree

592 files changed

+19781
-11605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

592 files changed

+19781
-11605
lines changed

.github/workflows/e3sm-gh-md-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23-
- uses: tj-actions/changed-files@v45
23+
- uses: tj-actions/changed-files@v46
2424
id: changed-files
2525
with:
2626
files: '**/*.md'

.github/workflows/e3sm-gh-pages.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ concurrency:
3434
jobs:
3535
Build-and-Deploy-docs:
3636
if: ${{ github.repository == 'E3SM-Project/E3SM' }}
37+
defaults:
38+
run:
39+
shell: bash -leo pipefail {0}
3740
runs-on: ubuntu-latest
3841
steps:
3942
- uses: actions/checkout@v4
@@ -48,19 +51,28 @@ jobs:
4851
submodules: true
4952
- name: Show action trigger
5053
run: echo "= The job was automatically triggered by a ${{github.event_name}} event on repo ${{github.event.repository.name}}."
51-
- name: Set up Python 3.11
52-
uses: actions/setup-python@v5
54+
- name: Install Python deps
55+
uses: mamba-org/setup-micromamba@v2
5356
with:
54-
python-version: "3.11"
55-
- name: Install python deps
56-
# TODO: move to a requirements.txt file
57-
# TODO: pin all versions?
58-
run: python3 -m pip install mkdocs-material pymdown-extensions mkdocs-monorepo-plugin mdutils mkdocs-bibtex==2.18.0
57+
init-shell: bash
58+
environment-name: docs
59+
create-args: >-
60+
python=3.12
61+
mkdocs-material
62+
pymdown-extensions
63+
mkdocs-monorepo-plugin
64+
mdutils
65+
mkdocs-bibtex==2.18.0
66+
marp-cli
5967
# build every time (PR or push to master)
6068
- name: Generate EAMxx params docs
6169
working-directory: components/eamxx/scripts
6270
run: |
6371
./eamxx-params-docs-autogen
72+
- name: Generate presentations
73+
run: |
74+
marp -I components/eamxx/docs/_presentations_srcs -o components/eamxx/docs/_presentations_html
75+
cp components/eamxx/docs/_presentations_srcs/*.png components/eamxx/docs/_presentations_html/
6476
- name: Build
6577
run: mkdocs build --strict --verbose
6678
# Only deploy to the main github page when there is a push to master

.github/workflows/eamxx-sa-sanitizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ jobs:
9494
machine: ghci-snl-cuda
9595
generate: false
9696
submit: ${{ env.submit }}
97-
cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }}
97+
cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }};SCREAM_SMALL_KERNELS=ON

.github/workflows/eamxx-sa-testing.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- 'cime_config/machine/config_machines.xml'
1313
- 'components/eamxx/**'
1414
- 'components/homme/**'
15+
- 'components/eam/src/physics/rrtmgp/**'
1516
- 'externals/ekat'
1617
- 'externals/mam4xx'
1718
- 'externals/haero'
@@ -105,8 +106,14 @@ jobs:
105106
strategy:
106107
fail-fast: false
107108
matrix:
108-
build_type: [sp, dbg, opt]
109-
name: gcc-cuda / ${{ matrix.build_type }}
109+
test:
110+
- build_type: sp
111+
SK: OFF
112+
- build_type: dbg
113+
SK: ON
114+
- build_type: opt
115+
SK: OFF
116+
name: gcc-cuda / ${{ matrix.test.build_type }}
110117
steps:
111118
- name: Check out the repository
112119
uses: actions/checkout@v4
@@ -148,9 +155,9 @@ jobs:
148155
- name: Run tests
149156
uses: ./.github/actions/test-all-eamxx
150157
with:
151-
build_type: ${{ matrix.build_type }}
158+
build_type: ${{ matrix.test.build_type }}
152159
machine: ghci-snl-cuda
153160
generate: ${{ env.generate }}
154161
submit: ${{ env.submit }}
155-
cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }}
162+
cmake-configs: Kokkos_ARCH_HOPPER90=${{ env.Hopper }};Kokkos_ARCH_AMPERE80=${{ env.Ampere }};Kokkos_ARCH_VOLTA70=${{ env.Volta }};CMAKE_CUDA_ARCHITECTURES=${{ env.CUDA_ARCH }};SCREAM_SMALL_KERNELS=${{ matrix.test.SK }}
156163
ekat: ${{ env.ekat }}

.github/workflows/eamxx-v1-testing.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- 'cime_config/machine/config_machines.xml'
1212
- 'components/eamxx/**'
1313
- 'components/homme/**'
14+
- 'components/eam/src/physics/rrtmgp/**'
1415
- 'externals/ekat'
1516
- 'externals/mam4xx'
1617
- 'externals/haero'
@@ -43,7 +44,7 @@ concurrency:
4344

4445
env:
4546
# Submit to cdash only for nightlies or if the user explicitly forced a submission via workflow dispatch
46-
submit: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.submit) }}
47+
submit: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch') }}
4748
# Generate only if user requested via workflow_dispatch
4849
generate: ${{ github.event_name == 'workflow_dispatch' && inputs.bless }}
4950
# Correct case folder suffix for generate/compare, used to find files to upload as artifacts
@@ -73,8 +74,6 @@ jobs:
7374
short_name: ERS_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.eamxx-small_kernels--eamxx-output-preset-5
7475
- full_name: SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-snl-cpu_gnu.eamxx-mam4xx-all_mam4xx_procs
7576
short_name: SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.eamxx-mam4xx-all_mam4xx_procs
76-
- full_name: SMS_Ln3.ne4pg2_oQU480.F2010-MMF2.ghci-snl-cpu_gnu
77-
short_name: SMS_Ln3.ne4pg2_oQU480.F2010-MMF2
7877
fail-fast: false
7978
name: cpu-gcc / ${{ matrix.test.short_name }}
8079
steps:

.github/workflows/omega-build-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ jobs:
9393
run: |
9494
conda activate omega_dev
9595
cd components/omega/doc
96-
make html
96+
make html-strict

.github/workflows/omega-docs-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
conda list
5050
5151
- name: Build Sphinx Docs
52+
# Use 'make html' (not html-strict) so docs always update, even if warnings exist.
5253
run: |
5354
conda activate omega_dev
5455
cd components/omega/doc

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ site
4545
components/eamxx/site/*
4646
# Ignore auto-generated eamxx_params.md file
4747
components/eamxx/docs/user/eamxx_params.md
48+
# Ignore html generated for presentations in the source code
49+
components/eamxx/docs/_presentations_html/
4850

4951
# Python packaging
5052
*.egg-info

.gitmodules

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,6 @@
8282
[submodule "externals/mam4xx"]
8383
path = externals/mam4xx
8484
url = [email protected]:eagles-project/mam4xx.git
85-
85+
[submodule "externals/cpptrace"]
86+
path = externals/cpptrace
87+
url = [email protected]:jeremy-rifkin/cpptrace

0 commit comments

Comments
 (0)