Skip to content

Commit a2f99e0

Browse files
authored
Merge pull request #121 from mvdebolskiy/rpointers-update-ctsm
Rpointers update ctsm. Includes fixes and updates from escomp up to 5.3.030
2 parents 4dab996 + bfe67da commit a2f99e0

768 files changed

Lines changed: 6732 additions & 2864 deletions

File tree

Some content is hidden

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

.git-blame-ignore-revs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Ran python directory through black python formatter
2+
d89c86e7776bbf7451860b60038b4725fe7a0560
23
b429b63824e09f82e95d2982f14311cbbd8e4a37
34
d229b5c6689efc4c2a6cef077515c4ccd5c18ff6
45
4cd83cb3ee6d85eb909403487abf5eeaf4d98911
@@ -27,6 +28,7 @@ d866510188d26d51bcd6d37239283db690af7e82
2728
e096358c832ab292ddfd22dd5878826c7c788968
2829
475831f0fb0e31e97f630eac4e078c886558b61c
2930
fd5f177131d63d39e79a13918390bdfb642d781e
31+
a51816e0de380300b69db9fc3e2c7fa83b267b64
3032
# Ran SystemTests and python/ctsm through black python formatter
3133
5364ad66eaceb55dde2d3d598fe4ce37ac83a93c
3234
8056ae649c1b37f5e10aaaac79005d6e3a8b2380
@@ -52,3 +54,8 @@ aa04d1f7d86cc2503b98b7e2b2d84dbfff6c316b
5254
045d90f1d80f713eb3ae0ac58f6c2352937f1eb0
5355
753fda3ff0147837231a73c9c728dd9ce47b5997
5456
f112ba0bbf96a61d5a4d354dc0dcbd8b0c68145c
57+
bd535c710db78420b8e8b9d71d88d8339e899c59
58+
4b20bbd7003e6f77dab4e3268cc4a43f9b5a3b5d
59+
cf433215b58ba8776ec5edfb0b0d80c0836ed3a0
60+
16d57ff37859b34dab005693e3085d64e2bcd95a
61+
e8fc526e0d7818d45f171488c78392c4ff63902a

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,18 @@ unit_test_build
8989
/tools/site_and_regional/listing.csv
9090
/tools/site_and_regional/????/
9191
/tools/site_and_regional/????.ad/
92+
/tools/site_and_regional/????.*.ad/
9293
/tools/site_and_regional/????.postad/
94+
/tools/site_and_regional/????.*.postad/
9395
/tools/site_and_regional/????.transient/
96+
/tools/site_and_regional/????.*.transient/
97+
/tools/site_and_regional/??-???/
98+
/tools/site_and_regional/??-???.ad/
99+
/tools/site_and_regional/??-???.*.ad/
100+
/tools/site_and_regional/??-???.postad/
101+
/tools/site_and_regional/??-???.*.postad/
102+
/tools/site_and_regional/??-???.transient/
103+
/tools/site_and_regional/??-???.*.transient/
94104
/tools/site_and_regional/archive/
95105

96106
# build output

.gitmodules

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,90 +28,82 @@
2828
[submodule "fates"]
2929
path = src/fates
3030
url = https://github.com/NorESMhub/fates
31-
fxtag = sci.1.78.3_api.36.1.0_noresm_v2
31+
fxtag = sci.1.81.1_api.38.0.0_noresm_v0
3232
fxrequired = AlwaysRequired
3333
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
3434
fxDONOTUSEurl = https://github.com/NCAR/fates-release
3535

3636
[submodule "cism"]
3737
path = components/cism
38-
url = https://github.com/ESCOMP/CISM-wrapper
39-
fxtag = cismwrap_2_2_002
38+
url = https://github.com/NorESMhub/CISM-wrapper
39+
fxtag = cismwrap_2_2_006_noresm_v0
4040
fxrequired = ToplevelRequired
4141
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
42-
fxDONOTUSEurl = https://github.com/ESCOMP/CISM-wrapper
42+
fxDONOTUSEurl = https://github.com/NorESMhub/CISM-wrapper
4343

4444
[submodule "rtm"]
4545
path = components/rtm
4646
url = https://github.com/ESCOMP/RTM
47-
fxtag = rtm1_0_80
47+
fxtag = rtm1_0_86
4848
fxrequired = ToplevelRequired
4949
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
5050
fxDONOTUSEurl = https://github.com/ESCOMP/RTM
5151

5252
[submodule "mosart"]
5353
path = components/mosart
5454
url = https://github.com/ESCOMP/MOSART
55-
fxtag = mosart1.1.02
55+
fxtag = mosart1.1.08
5656
fxrequired = ToplevelRequired
5757
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
5858
fxDONOTUSEurl = https://github.com/ESCOMP/MOSART
5959

6060
[submodule "mizuRoute"]
6161
path = components/mizuRoute
6262
url = https://github.com/ESCOMP/mizuRoute
63-
fxtag = cesm-coupling.n02_v2.1.3
63+
fxtag = cesm-coupling.n03_v2.2.0
6464
fxrequired = ToplevelRequired
6565
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
6666
fxDONOTUSEurl = https://github.com/ESCOMP/mizuRoute
6767

6868
[submodule "ccs_config"]
6969
path = ccs_config
7070
url = https://github.com/NorESMhub/ccs_config_noresm.git
71-
fxtag = ccs_config_noresm0.0.40
71+
fxtag = ccs_config_noresm0.0.44
7272
fxrequired = ToplevelRequired
7373
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
7474
fxDONOTUSEurl = https://github.com/NorESMhub/ccs_config_noresm
7575

7676
[submodule "cime"]
7777
path = cime
7878
url = https://github.com/NorESMhub/cime
79-
fxtag = cime6.1.28_noresm_v0
79+
fxtag = cime6.1.73_noresm_v0
8080
fxrequired = ToplevelRequired
8181
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
8282
fxDONOTUSEurl = https://github.com/ESMCI/cime
8383

8484
[submodule "cmeps"]
8585
path = components/cmeps
8686
url = https://github.com/NorESMhub/CMEPS.git
87-
fxtag = cmeps1.0.20_noresm_v0
87+
fxtag = cmeps1.0.39_noresm_v0
8888
fxrequired = ToplevelRequired
8989
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
9090
fxDONOTUSEurl = https://github.com/ESCOMP/CMEPS.git
9191

9292
[submodule "cdeps"]
9393
path = components/cdeps
94-
url = https://github.com/ESCOMP/CDEPS.git
95-
fxtag = cdeps1.0.53
94+
url = https://github.com/NorESMhub/CDEPS.git
95+
fxtag = cdeps1.0.70_noresm_v0
9696
fxrequired = ToplevelRequired
9797
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
98-
fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS.git
98+
fxDONOTUSEurl = https://github.com/NorESMhub/CDEPS.git
9999

100100
[submodule "share"]
101101
path = share
102102
url = https://github.com/NorESMhub/NorESM_share
103-
fxtag = share1.1.2_noresm_v0
103+
fxtag = share1.1.9_noresm_v0
104104
fxrequired = ToplevelRequired
105105
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
106-
fxDONOTUSEurl = https://github.com/ESCOMP/CESM_share
107-
108-
[submodule "mct"]
109-
path = libraries/mct
110-
url = https://github.com/MCSclimate/MCT
111-
fxtag = MCT_2.11.0
112-
fxrequired = ToplevelRequired
113-
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
114-
fxDONOTUSEurl = https://github.com/MCSclimate/MCT
106+
fxDONOTUSEurl = https://github.com/NorESMhub/NorESM_share
115107

116108
[submodule "parallelio"]
117109
path = libraries/parallelio
@@ -121,6 +113,14 @@ fxrequired = ToplevelRequired
121113
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
122114
fxDONOTUSEurl = https://github.com/NCAR/ParallelIO
123115

116+
[submodule "mpi-serial"]
117+
path = libraries/mpi-serial
118+
url = https://github.com/ESMCI/mpi-serial
119+
fxtag = MPIserial_2.5.1
120+
fxrequired = ToplevelRequired
121+
# Standard Fork to compare to with "git fleximod test" to ensure personal forks aren't committed
122+
fxDONOTUSEurl = https://github.com/ESMCI/mpi-serial
123+
124124
[submodule "doc-builder"]
125125
path = doc/doc-builder
126126
url = https://github.com/ESMCI/doc-builder

.lib/git-fleximod/.github/workflows/pytest.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# reference the matrixe python version here.
1919
- uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.9'
21+
python-version: '3.12'
2222

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
_The Contributor Code of Conduct is for participants in our software projects and community._
33

44
## Our Pledge
5-
We, as contributors, creators, stewards, and maintainers (participants), of **Community Terrestrial Systems Model (CTSM)** pledge to make participation in
5+
We, as contributors, creators, stewards, and maintainers (participants), of **git-fleximod** pledge to make participation in
66
our software, system or hardware project and community a safe, productive, welcoming and inclusive experience for everyone.
77
All participants are required to abide by this Code of Conduct.
88
This includes respectful treatment of everyone regardless of age, body size, disability, ethnicity, gender identity or expression,

.lib/git-fleximod/git_fleximod/cli.py

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,31 @@
22
import argparse
33
from git_fleximod import utils
44

5-
__version__ = "0.7.8"
5+
__version__ = "0.9.3"
66

77
def find_root_dir(filename=".gitmodules"):
88
""" finds the highest directory in tree
99
which contains a file called filename """
10-
d = Path.cwd()
11-
root = Path(d.root)
12-
dirlist = []
13-
dl = d
14-
while dl != root:
15-
dirlist.append(dl)
16-
dl = dl.parent
17-
dirlist.append(root)
18-
dirlist.reverse()
19-
20-
for dl in dirlist:
21-
attempt = dl / filename
22-
if attempt.is_file():
23-
return str(dl)
24-
return None
25-
10+
try:
11+
root = utils.execute_subprocess(["git","rev-parse", "--show-toplevel"],
12+
output_to_caller=True ).rstrip()
13+
except:
14+
d = Path.cwd()
15+
root = Path(d.root)
16+
dirlist = []
17+
dl = d
18+
while dl != root:
19+
dirlist.append(dl)
20+
dl = dl.parent
21+
dirlist.append(root)
22+
dirlist.reverse()
23+
24+
for dl in dirlist:
25+
attempt = dl / filename
26+
if attempt.is_file():
27+
return str(dl)
28+
return None
29+
return Path(root)
2630

2731
def get_parser():
2832
description = """

0 commit comments

Comments
 (0)