.. _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`.
::
Stub atm component
char
satm
satm
case_comp
env_case.xml
Name of atmosphere component
=========================================
SATM naming conventions in compset name
=========================================
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.
::
char
NTASKS,NTHREADS,NINST
rebuild_triggers
env_build.xml
Settings that will trigger a rebuild
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.