-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jgfouca/scream_downstream_merge' into master (PR #6153)
Downstream merge of scream/eamxx fork into E3SM The build system fixes on the fork are needed for E3SM. Also updates E3SM with latest version of eamxx. Merge remote-tracking branch 'scream/master' into jgfouca/scream_downstream_merge Updates submodules: * ekat * haero * mam4xx EAM updates: * Consolidate shoc_Ck nml settings * New iop_coriolis nml setting (for nudging) * initialize IOP information on the first restart time step * SHOC updates * Add wet/dry qv_sat (saturation mixing ratio), old qv_sat is still available for backwards compatibility * P3 updates (scream version only) This PR now includes #5925 : Update the YAKL submodule, and update PAM submodule to work with the YAKL update. [YAKL] [BFB] - (except for SCREAM/EAMXX and MMF2 cases)
- Loading branch information
Showing
688 changed files
with
33,747 additions
and
12,838 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -15,22 +15,31 @@ concurrency: | |
|
||
jobs: | ||
Build-and-Deploy-docs: | ||
if: ${{ github.event.repository.name != 'scream' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
fetch-depth: 0 # Needed, or else gh-pages won't be fetched, and push rejected | ||
submodules: false # speeds up clone and not building anything in submodules | ||
# TODO: git rid of dependency on CIME | ||
# TODO: another option to investigate is a sparse checkout. | ||
# In the scream repo, all other components do not need to be checked out. | ||
# And even in the upstream, we mainly need only components/xyz/docs (and a few more places). | ||
submodules: true | ||
- name: Show action trigger | ||
run: echo "= The job was automatically triggered by a ${{github.event_name}} event." | ||
run: echo "= The job was automatically triggered by a ${{github.event_name}} event on repo ${{github.event.repository.name}}." | ||
- name: Set up Python 3.10 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
- name: Install python deps | ||
run: python3 -m pip install mkdocs-material pymdown-extensions mkdocs-monorepo-plugin mdutils mkdocs-bibtex | ||
# build every time (PR or push to master) | ||
- name: Generate EAMxx params docs | ||
working-directory: components/eamxx/scripts | ||
run: | | ||
./eamxx-params-docs-autogen | ||
- name: Build | ||
run: mkdocs build --strict --verbose | ||
# Only deploy to the main github page when there is a push to master | ||
|
This file contains 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,88 @@ | ||
# This workflow aims to automatically rebuild eamxx documentation | ||
# every time the master branch is updated on github and within every PR | ||
|
||
name: EAMxx Docs | ||
|
||
on: | ||
# Runs every time master branch is updated | ||
push: | ||
branches: [ master ] | ||
# Only if docs-related files are touched | ||
paths: | ||
- components/eamxx/mkdocs.yml | ||
- components/eamxx/docs/** | ||
- components/eamxx/cime_config/namelist_defaults_scream.xml | ||
# Runs every time a PR is open against master | ||
pull_request: | ||
branches: [ master ] | ||
# Only if docs-related files are touched | ||
paths: | ||
- components/eamxx/mkdocs.yml | ||
- components/eamxx/docs/** | ||
- components/eamxx/cime_config/namelist_defaults_scream.xml | ||
|
||
label: | ||
types: | ||
- created | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
# Prevent 2+ copies of this workflow from running concurrently | ||
group: eamxx-docs-action | ||
|
||
jobs: | ||
|
||
eamxx-docs: | ||
if: ${{ github.event.repository.name == 'scream' }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
# TODO: git rid of dependency on CIME | ||
# TODO: another option to investigate is a sparse checkout. | ||
# In the scream repo, all other components do not need to be checked out. | ||
# And even in the upstream, we mainly need only components/xyz/docs (and a few more places). | ||
submodules: true | ||
|
||
- name: Show action trigger | ||
run: | | ||
echo "= The job was automatically triggered by a ${{github.event_name}} event." | ||
- name: Set up Python 3.10 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install Python deps | ||
run: | | ||
pip install mkdocs pymdown-extensions mkdocs-material mdutils | ||
- name: Generate EAMxx params docs | ||
working-directory: components/eamxx/scripts | ||
run: | | ||
./eamxx-params-docs-autogen | ||
- name: Build docs | ||
working-directory: components/eamxx | ||
run: | | ||
mkdocs build --strict --verbose | ||
# only deploy to the main github page when there is a push to master | ||
- if: ${{ github.event_name == 'push' }} | ||
name: GitHub Pages action | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
# Do not remove existing pr-preview pages | ||
clean-exclude: pr-preview | ||
folder: ./components/eamxx/site | ||
|
||
# If it's a PR from within the same repo, deploy to a preview page | ||
- if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }} | ||
name: Preview docs | ||
uses: rossjrw/pr-preview-action@v1 | ||
with: | ||
source-dir: components/eamxx/site/ |
This file contains 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 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 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 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 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 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,43 @@ | ||
set(CICE_F90 | ||
ice_FY.F90 | ||
ice_aerosol.F90 | ||
ice_age.F90 | ||
ice_atmo.F90 | ||
ice_blocks.F90 | ||
ice_calendar.F90 | ||
ice_diagnostics.F90 | ||
ice_distribution.F90 | ||
ice_domain.F90 | ||
ice_domain_size.F90 | ||
ice_dyn_evp.F90 | ||
ice_fileunits.F90 | ||
ice_flux.F90 | ||
ice_forcing.F90 | ||
ice_grid.F90 | ||
ice_history.F90 | ||
ice_history_fields.F90 | ||
ice_init.F90 | ||
ice_itd.F90 | ||
ice_kinds_mod.F90 | ||
ice_lvl.F90 | ||
ice_mechred.F90 | ||
ice_meltpond.F90 | ||
ice_ocean.F90 | ||
ice_orbital.F90 | ||
ice_probability.F90 | ||
ice_probability_tools.F90 | ||
ice_read_write.F90 | ||
ice_restoring.F90 | ||
ice_shortwave.F90 | ||
ice_spacecurve.F90 | ||
ice_state.F90 | ||
ice_step_mod.F90 | ||
ice_therm_itd.F90 | ||
ice_therm_vertical.F90 | ||
ice_transport_driver.F90 | ||
ice_transport_remap.F90 | ||
ice_work.F90) | ||
|
||
foreach(ITEM IN LISTS CICE_F90) | ||
e3sm_add_flags("cice/src/source/${ITEM}" "-O0") | ||
endforeach() |
53 changes: 53 additions & 0 deletions
53
cime_config/machines/Depends.frontier-scream-gpu.crayclang-scream.cmake
This file contains 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,53 @@ | ||
set(REDOPT | ||
../driver-mct/main/seq_io_mod.F90 | ||
elm/src/biogeophys/BandDiagonalMod.F90) | ||
|
||
if (NOT DEBUG) | ||
foreach(ITEM IN LISTS REDOPT) | ||
e3sm_add_flags("${ITEM}" "-O1 -g") | ||
endforeach() | ||
endif() | ||
|
||
set(CICE_F90 | ||
ice_FY.F90 | ||
ice_aerosol.F90 | ||
ice_age.F90 | ||
ice_atmo.F90 | ||
ice_blocks.F90 | ||
ice_calendar.F90 | ||
ice_diagnostics.F90 | ||
ice_distribution.F90 | ||
ice_domain.F90 | ||
ice_domain_size.F90 | ||
ice_dyn_evp.F90 | ||
ice_fileunits.F90 | ||
ice_flux.F90 | ||
ice_forcing.F90 | ||
ice_grid.F90 | ||
ice_history.F90 | ||
ice_history_fields.F90 | ||
ice_init.F90 | ||
ice_itd.F90 | ||
ice_kinds_mod.F90 | ||
ice_lvl.F90 | ||
ice_mechred.F90 | ||
ice_meltpond.F90 | ||
ice_ocean.F90 | ||
ice_orbital.F90 | ||
ice_probability.F90 | ||
ice_probability_tools.F90 | ||
ice_read_write.F90 | ||
ice_restoring.F90 | ||
ice_shortwave.F90 | ||
ice_spacecurve.F90 | ||
ice_state.F90 | ||
ice_step_mod.F90 | ||
ice_therm_itd.F90 | ||
ice_therm_vertical.F90 | ||
ice_transport_driver.F90 | ||
ice_transport_remap.F90 | ||
ice_work.F90) | ||
|
||
foreach(ITEM IN LISTS CICE_F90) | ||
e3sm_add_flags("cice/src/source/${ITEM}" "-O0") | ||
endforeach() |
This file contains 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 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
Oops, something went wrong.