Skip to content

Commit

Permalink
Merge branch 'cesm3.0-alphabranch'
Browse files Browse the repository at this point in the history
  • Loading branch information
fischer-ncar committed Oct 1, 2024
2 parents 51e6e06 + 1a27483 commit 60b024c
Show file tree
Hide file tree
Showing 28 changed files with 189 additions and 33 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/fleximod_test.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
push:
branches: [ master ]
branches: [ master, cesm3.0-alphabranch ]
pull_request:
branches: [ master ]
branches: [ master, cesm3.0-alphabranch ]
jobs:
fleximod-test:
runs-on: ubuntu-latest
Expand All @@ -16,7 +16,12 @@ jobs:
- id: run-fleximod
run: |
$GITHUB_WORKSPACE/bin/git-fleximod update
$GITHUB_WORKSPACE/bin/git-fleximod test
echo
echo "Update complete, checking status"
echo
$GITHUB_WORKSPACE/bin/git-fleximod status | tee status.out
grep testfails status.out || exit 0
exit 1
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
Expand Down
10 changes: 5 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
path = cime
url = https://github.com/ESMCI/cime
fxDONOTUSEurl = https://github.com/ESMCI/cime
fxtag = cime6.1.25
fxtag = cime6.1.29
fxrequired = ToplevelRequired

[submodule "fms"]
Expand Down Expand Up @@ -66,7 +66,7 @@
url = https://github.com/ESCOMP/CTSM
fxDONOTUSEurl = https://github.com/ESCOMP/CTSM
fxrequired = ToplevelRequired
fxtag = ctsm5.2.027
fxtag = ctsm5.3.002

[submodule "cice"]
path = components/cice
Expand All @@ -80,7 +80,7 @@
url = https://github.com/ESCOMP/MOM_interface
fxDONOTUSEurl = https://github.com/ESCOMP/MOM_interface
fxrequired = ToplevelRequired
fxtag = mi_240822
fxtag = mi_240923

[submodule "cism"]
path = components/cism
Expand Down Expand Up @@ -114,7 +114,7 @@
path = components/ww3
url = https://github.com/ESCOMP/WW3_interface
fxDONOTUSEurl = https://github.com/ESCOMP/WW3_interface
fxtag = ww3i_0.0.3
fxtag = main_0.0.14
fxrequired = ToplevelRequired

[submodule "mizuroute"]
Expand Down Expand Up @@ -157,4 +157,4 @@
url = https://github.com/NCAR/CUPiD.git
fxDONOTUSEurl = https://github.com/NCAR/CUPiD.git
fxrequired = ToplevelRequired
fxtag = v0.1.0
fxtag = v0.1.1
9 changes: 6 additions & 3 deletions .lib/git-fleximod/.github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# reference the matrixe python version here.
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'

# Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow
# from installing Poetry every time, which can be slow. Note the use of the Poetry version
Expand All @@ -29,7 +29,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-1.7.1
key: poetry-1.8.2

# Install Poetry. You could do this manually, or there are several actions that do this.
# `snok/install-poetry` seems to be minimal yet complete, and really just calls out to
Expand All @@ -42,7 +42,7 @@ jobs:
# cache it.
- uses: snok/install-poetry@v1
with:
version: 1.7.1
version: 1.8.2
virtualenvs-create: true
virtualenvs-in-project: true

Expand Down Expand Up @@ -74,4 +74,7 @@ jobs:
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
poetry run pytest
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

2 changes: 1 addition & 1 deletion .lib/git-fleximod/git_fleximod/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import argparse
from git_fleximod import utils

__version__ = "0.9.0"
__version__ = "0.9.2"

def find_root_dir(filename=".gitmodules"):
""" finds the highest directory in tree
Expand Down
2 changes: 2 additions & 0 deletions .lib/git-fleximod/git_fleximod/gitinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ def config_get_value(self, section, name):
def config_set_value(self, section, name, value):
if self._use_module:
with self.repo.config_writer() as writer:
if "." in section:
section = section.replace("."," \"")+'"'
writer.set_value(section, name, value)
writer.release() # Ensure changes are saved
else:
Expand Down
8 changes: 4 additions & 4 deletions .lib/git-fleximod/git_fleximod/submodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _add_remote(self, git):
return newremote
else:
i = 0
while "newremote" in remotes:
while newremote in remotes:
i = i + 1
newremote = f"newremote.{i:02d}"
else:
Expand Down Expand Up @@ -303,9 +303,9 @@ def sparse_checkout(self):
print(f"Error checking out {self.name:>20} at {self.fxtag}")
else:
print(f"Successfully checked out {self.name:>20} at {self.fxtag}")
rgit.config_set_value(f'submodule "{self.name}"', "active", "true")
rgit.config_set_value(f'submodule "{self.name}"', "url", self.url)
rgit.config_set_value(f'submodule "{self.name}"', "path", self.path)
rgit.config_set_value('submodule.' + self.name, "active", "true")
rgit.config_set_value('submodule.' + self.name, "url", self.url)
rgit.config_set_value('submodule.' + self.name, "path", self.path)

def update(self):
"""
Expand Down
5 changes: 1 addition & 4 deletions .lib/git-fleximod/git_fleximod/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,7 @@ def execute_subprocess(commands, status_to_caller=False, output_to_caller=False)
"returned status {0}".format(error.returncode)
)
msg = failed_command_msg(msg_context, commands, output=error.output)
if return_to_caller:
logging.warning(error)
logging.warning(msg)
else:
if not return_to_caller:
logging.error(error)
logging.error(msg)
log_process_output(error.output)
Expand Down
2 changes: 1 addition & 1 deletion .lib/git-fleximod/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "git-fleximod"
version = "0.9.0"
version = "0.9.2"
description = "Extended support for git-submodule and git-sparse-checkout"
authors = ["Jim Edwards <[email protected]>"]
maintainers = ["Jim Edwards <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion .lib/git-fleximod/tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
github_url = "https://github.com/jedwards4b/git-fleximod/"

[version]
current = "0.9.0"
current = "0.9.2"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down
109 changes: 109 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,112 @@
==============================================================
Tag name: cesm3_0_alpha03d
Originator(s): CSEG
Date: 25th September 2024
One-line Summary: CLM answer changing tag

components/cam https://github.com/ESCOMP/CAM/cam6_4_032 --
components/cice https://github.com/ESCOMP/CESM_CICE/tree/cesm_cice6_5_0_12 **
cime https://github.com/ESMCI/cime/tree/cime6.1.29 **
share https://github.com/ESCOMP/CESM_share/tree/share1.1.2 --
ccs_config https://github.com/ESMCI/ccs_config_cesm/tree/ccs_config_cesm1.0.7 --
components/cmeps https://github.com/ESCOMP/CMEPS/tree/cmeps1.0.16 --
components/cdeps https://github.com/ESCOMP/CDEPS/tree/cdeps1.0.53 --
components/cism https://github.com/ESCOMP/cism-wrapper/tree/cismwrap_2_2_002 --
components/clm https://github.com/ESCOMP/ctsm/tree/ctsm5.3.002 **
components/fms https://github.com/ESCOMP/FMS_interface/tree/fi_240822 --
components/mizuroute https://github.com/ESCOMP/mizuRoute/tree/cesm-coupling.n02_v2.1.3 --
components/mom https://github.com/ESCOMP/MOM_interface/mi_240923 **
components/mosart https://github.com/ESCOMP/mosart/tree/mosart1_1_02 --
components/rtm https://github.com/ESCOMP/rtm/tree/rtm1_0_80 --
components/ww3 https://github.com/ESCOMP/WW3-CESM/tree/main_0.0.14 **
libraries/parallelio https://github.com/NCAR/ParallilIO/tree/pio2_6_3 --
tools/CUPiD https://github.com/NCAR/CUPiD/tree/v0.1.1 **

cime
Chris Fischer 2024-09-25 - cime6.1.29 - cime (cesm3_0_alpha03d)
https://github.com/ESMCI/cime/tags/cime6.1.29

cime6.1.29: Improve functionality of hidden workflow flag.
cime6.1.28: Avoid breaking Python environment by prepending CIME paths to PYTHONPATH.
cime6.1.27: Mark SETUP as FAIL if case.cmpgen_namelists fails.
cime6.1.26: Make the hidden status of batch jobs xml dependent.


clm
Erik Kluzek 2024-09-27 - ctsm5.3.002 - components/clm (cesm3_0_alpha03d)
https://github.com/ESCOMP/ctsm/tags/ctsm5.3.002

Duplicate tag of ctsm5.3.001


Erik Kluzek 2024-09-27 - ctsm5.3.001 - components/clm (cesm3_0_alpha03d)
https://github.com/ESCOMP/ctsm/tags/ctsm5.3.001

Merge of b4b-dev to master. Some documentation updates.
Some new namelist warnings for hillslope options.


Erik Kluzek 2024-09-24 - ctsm5.3.0 - components/clm (cesm3_0_alpha03d)
https://github.com/ESCOMP/ctsm/tags/ctsm5.3.0

Minor version update for CTSM:
- New surface datasets NOT backward compatible with ctsm5.2 ones
- New f09 1850 IC file
- New "hand tuned" parameter file
- New Li2024 fire turned on for clm6_0
- fire emissions factor file update


Erik Kluzek 2024-09-05 - ctsm5.2.028 - components/clm (cesm3_0_alpha03d)
https://github.com/ESCOMP/ctsm/tags/ctsm5.2.028

FATES update for history flushing


CUPiD
Michael Levy 2024-09-16 - v0.1.1 - tools/CUPiD (cesm3_0_alpha03d)
https://github.com/NCAR/CUPiD/tags/v0.1.1

Remove manage_externals in favor of git submodules.
Also update the key_metrics example (and clean up documentation)


mom
Alper Altuntas 2024-09-23 - mi_240923 - components/mom (cesm3_0_alpha03d)
https://github.com/ESCOMP/MOM_interface/tags/mi_2409??

Fix memory leak introduced with MARBL changes.


Michael Levy 2024-09-18 - mi_240920 - components/mom (cesm3_0_alpha03d)
https://github.com/ESCOMP/MOM_interface/tags/mi_2409??

Update externals:
1. Latest version of MARBL improves diag_table for fully coupled runs
2. Created an ESCOMP fork of stochastic_physics


Alper Altuntas 2024-09-09 - mi_240909b - components/mom (cesm3_0_alpha03d)
https://github.com/ESCOMP/MOM_interface/tags/mi_240909b

- MARBL: add STF_SALT_{tracer} diagnostics to diag_table.
- Check if fluxes%salt_flux is associated.


Alper Altuntas 2024-08-30 - mi_240909 - components/mom (cesm3_0_alpha03d)
https://github.com/ESCOMP/MOM_interface/tags/mi_2408??c

- Updates in FPMix and Stokes Most
- Modify NUOPC cap to accept separate glc runoff fluxes
- Re-tuning to bring MOM in line with CESM3 development runs:


ww3
Alper Altuntas 2024-09-09 - main_0.0.14 - components/ww3 (cesm3_0_alpha03d)
https://github.com/ESCOMP/WW3_interface/tags/main_0.0.14

Merge latest dev/ufs-weather-model

==============================================================
Tag name: cesm3_0_alpha03c
Originator(s): CSEG
Expand Down
2 changes: 1 addition & 1 deletion ccs_config
32 changes: 32 additions & 0 deletions cime_config/testlist_allactive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,38 @@
<option name="wallclock"> 01:00:00 </option>
</options>
</test>
<test name="ERS_Ld5" grid="ne30pg3_t232" compset="BLT1850" testmods="allactive/defaultio">
<machines>
<machine name="derecho" compiler="intel" category="prealpha"/>
</machines>
<options>
<option name="wallclock"> 01:00:00 </option>
</options>
</test>
<test name="ERS_Ld5" grid="ne30pg3_t232" compset="BLTHIST" testmods="allactive/defaultio">
<machines>
<machine name="derecho" compiler="intel" category="prealpha"/>
</machines>
<options>
<option name="wallclock"> 01:00:00 </option>
</options>
</test>
<test name="ERS_Ld5" grid="ne30pg3_t232" compset="BLT1850" testmods="allactive/decstart">
<machines>
<machine name="derecho" compiler="intel" category="prealpha"/>
</machines>
<options>
<option name="wallclock"> 01:00:00 </option>
</options>
</test>
<test name="ERS_Ld5" grid="ne30pg3_t232" compset="BLTHIST" testmods="allactive/decstart">
<machines>
<machine name="derecho" compiler="intel" category="prealpha"/>
</machines>
<options>
<option name="wallclock"> 01:00:00 </option>
</options>
</test>

<test name="ERI" grid="ne30pg3_t232" compset="BLT1850" testmods="allactive/defaultio">
<machines>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../defaultio
2 changes: 2 additions & 0 deletions cime_config/testmods_dirs/allactive/crossleap/shell_commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
./xmlchange RUN_STARTDATE=2004-02-28
./xmlchange CLM_BLDNML_OPTS=-ignore_warnings --append
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../crossleap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./xmlchange CALENDAR=GREGORIAN
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../defaultio
2 changes: 2 additions & 0 deletions cime_config/testmods_dirs/allactive/decstart/shell_commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
./xmlchange RUN_STARTDATE=2001-12-30
./xmlchange CLM_BLDNML_OPTS=-ignore_warnings --append
2 changes: 1 addition & 1 deletion components/cam
Submodule cam updated 195 files
2 changes: 1 addition & 1 deletion components/clm
Submodule clm updated 311 files
2 changes: 1 addition & 1 deletion libraries/FMS
Submodule FMS updated 1 files
+1 −1 src
2 changes: 1 addition & 1 deletion libraries/parallelio

0 comments on commit 60b024c

Please sign in to comment.