-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a730ae
commit 78bf37b
Showing
24 changed files
with
610 additions
and
297 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
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
62 changes: 62 additions & 0 deletions
62
versions/master/html/_sources/users_guide/components.rst.txt
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,62 @@ | ||
.. _components: | ||
|
||
========== | ||
Components | ||
========== | ||
|
||
A single component in the smallest unit within a model. Multiple components make up a component set. | ||
|
||
Configuration | ||
-------------- | ||
|
||
The configuration for a component can be found under `cime_config` in the component directory. | ||
|
||
Example contents of a components `config_component.xml`. | ||
|
||
:: | ||
|
||
<?xml version="1.0"?> | ||
|
||
<?xml-stylesheet type="text/xsl" href="entry_id.xsl" ?> | ||
|
||
<entry_id version="3.0"> | ||
<description> | ||
<desc atm="SATM">Stub atm component</desc> | ||
</description> | ||
|
||
<entry id="COMP_ATM"> | ||
<type>char</type> | ||
<valid_values>satm</valid_values> | ||
<default_value>satm</default_value> | ||
<group>case_comp</group> | ||
<file>env_case.xml</file> | ||
<desc>Name of atmosphere component</desc> | ||
</entry> | ||
|
||
|
||
<help> | ||
========================================= | ||
SATM naming conventions in compset name | ||
========================================= | ||
</help> | ||
|
||
</entry_id> | ||
|
||
Triggering a rebuild | ||
-------------------- | ||
|
||
It's the responsibility of a component to define which settings will require a component to be rebuilt. | ||
|
||
These triggers can be defined as follows. | ||
|
||
:: | ||
|
||
<entry id="REBUILD_TRIGGER_ATM"> | ||
<type>char</type> | ||
<default_value>NTASKS,NTHREADS,NINST</default_value> | ||
<group>rebuild_triggers</group> | ||
<file>env_build.xml</file> | ||
<desc>Settings that will trigger a rebuild</desc> | ||
</entry> | ||
|
||
If a user was to change `NTASKS`, `NTHREADS`, or `NINST` in a case using the component, then a rebuild would be required before the case could be submitted again. |
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
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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.