-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Point to a git version of cism and get standalone build to work #189
Changes from 4 commits
3c7492f
dbb562b
199f1de
333a28f
69a8f35
b07e503
0f6f402
62ab381
bf54f33
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
|
||
<?xml-stylesheet type="text/xsl" ?> | ||
|
||
<entry_id> | ||
|
||
<!-- This is the same as the default entry in | ||
cime/config/cesm/config_files.xml except for the value for clm: | ||
In a standalone clm checkout, COMP_ROOT_DIR_LND is $SRCROOT | ||
rather than $SRCROOT/components/clm. | ||
|
||
However, because of the way overrides are handled, we need to | ||
re-specify the full information here rather than just overriding | ||
the value for clm. | ||
--> | ||
<entry id="COMP_ROOT_DIR_LND"> | ||
<type>char</type> | ||
<default_value>unset</default_value> | ||
<values> | ||
<value component="clm" >$SRCROOT</value> | ||
<value component="dlnd" >$CIMEROOT/src/components/data_comps/dlnd</value> | ||
<value component="slnd" >$CIMEROOT/src/components/stub_comps/slnd</value> | ||
<value component="xlnd" >$CIMEROOT/src/components/xcpl_comps/xlnd</value> | ||
</values> | ||
<group>case_comps</group> | ||
<file>env_case.xml</file> | ||
<desc>Root directory of the case land model component </desc> | ||
<schema>$CIMEROOT/config/xml_schemas/config_compsets.xsd</schema> | ||
</entry> | ||
|
||
</entry_id> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,10 @@ required = True | |
|
||
[cism] | ||
local_path = components/cism | ||
protocol = svn | ||
repo_url = https://svn-ccsm-models.cgd.ucar.edu/glc | ||
tag = trunk_tags/cism2_1_40 | ||
protocol = git | ||
repo_url = https://github.com/ESCOMP/cism-wrapper | ||
branch = add_manage_externals_file | ||
externals = CISM.cfg | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bandre-ucar do I need to explicitly point to an externals file like this, or can it be auto-detected if I name it appropriately? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It needs to be explicitly listed. |
||
required = True | ||
|
||
[rtm] | ||
|
@@ -29,7 +30,7 @@ required = True | |
local_path = cime | ||
protocol = git | ||
repo_url = https://github.com/CESM-Development/cime | ||
tag = billsacks/always_glcmec_n01 | ||
tag = billsacks/always_glcmec_n02 | ||
required = True | ||
|
||
[externals_description] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping that I could get away with just specifying the new
COMP_ROOT_DIR_LND
for clm, without duplicating all of the metadata and without duplicating the entries fordlnd
,slnd
orxlnd
. Alas, this doesn't seem possible:When I didn't duplicate all of the metadata (group, file, etc.), the python complained about missing
file
When I didn't specify entries for
dlnd
,slnd
andxlnd
, I wasn't able to run a T compset (CISM forced by dlnd). I know it's kind of funny to run a compset without CLM from a standalone CLM checkout, but I sometimes do that for testing, and I can see some value in allowing it for scientists as well, so I don't want to lose that ability.This isn't a big deal, but @bandre-ucar @jedwards4b - am I missing something that would allow me to make this override file briefer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You aren't missing anything, the override needs to be a complete entry. I'm not aware of a way to make it shorter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, thanks a lot for taking a look at this