Skip to content

Commit 4817233

Browse files
committed
SUBSETDATAPOINT now works w/o custom CIME.
1 parent 71f9995 commit 4817233

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ fxDONOTUSEurl = https://github.com/ESMCI/ccs_config_cesm.git
7575

7676
[submodule "cime"]
7777
path = cime
78-
url = git@github.com:samsrabin/cime_myfork.git
79-
fxtag = dfac7c17e98576a543c1507c0d9daccfaa1038ae
78+
url = https://github.com/ESMCI/cime
79+
fxtag = cime6.1.102
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

cime

cime_config/SystemTests/subsetdatapoint.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import sys
88
import logging
99
from CIME.SystemTests.system_tests_common import SystemTestsCommon
10+
from CIME.user_mod_support import apply_user_mods
1011
from CIME.XML.standard_module_setup import *
1112

1213
# In case we need to import subset_data later
@@ -67,5 +68,10 @@ def build_phase(self, sharedlib_only=False, model_only=False):
6768
]
6869
subset_data()
6970

70-
self._case.apply_user_mods([usermods_dir])
71+
# Apply the user mods
72+
self._case.flush(flushall=True)
73+
apply_user_mods(self._get_caseroot(), usermods_dir)
74+
self._case.read_xml()
75+
76+
# Do the build
7177
super().build_phase(sharedlib_only, model_only)

0 commit comments

Comments
 (0)