-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downstream merge of scream/eamxx fork into E3SM
The build system fixes on the fork are needed for E3SM. [BFB] Merge remote-tracking branch 'scream/master' into jgfouca/scream_downstream_merge * scream/master: (1060 commits) typo forbid using weighted nudging from coarse data in scorpio interface, only access array when it is not empty return early in layout check to avoid segfault EAMxx: set initial timestamp for rrtmgp active gases in fvphys init layer EAMxx: in scorpio output, only track avg cnt for fields that are outputed EAMxx: ensure accum fields are fully inited before I/O runs EAMxx: make FieldLayout::invalid() return something different from a 0d layout EAMxx: remove unused (and buggy) FieldLayout constructors EAMxx: fix expected prop check output in unit test EAMxx: add timing of pre/post/conservation checks EAMxx: avoid pointless sync to host in FieldWithinIntervalCheck EAMxx: avoid pointless work in FieldWithinIntervalCheck EAMxx: print prop check msg when field is repaired Improve error messages in perturb() Assume geo data is synced to host Add comment for SKIP_BLAS Skip blas instead of hardcoding blas_libraries Improve comment on linker Use plain ftn as linker ...
- Loading branch information
Showing
685 changed files
with
33,702 additions
and
12,835 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
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,83 @@ | ||
# 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 | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
# Prevent 2+ copies of this workflow from running concurrently | ||
group: eamxx-docs-action | ||
|
||
jobs: | ||
|
||
eamxx-docs: | ||
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/setup-python@v4.7.0 | ||
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.