CESM: Difference between revisions

Added links to documentation
(Validation of machine file)
(Added links to documentation)
Line 5: Line 5:
==Local machine file==
==Local machine file==


* Create and edit the file <code>~/.cime/config_machines.xml</code> from the following minimal content per cluster:
<ul>
<li>Create and edit the file <code>~/.cime/config_machines.xml</code> from the following minimal content per cluster:


<tabs>
<tabs>
Line 173: Line 174:
</tab>
</tab>
</tabs>
</tabs>
</li>
<li>Validate your XML machine file with the following commands:


* Validate your XML machine file with the following commands:
{{Command2
{{Command2
|prompt=[name@server ~]$|module load cesm/2.1.3 && xmllint --noout --schema $EBROOTCESM/cime/config/xml_schemas/config_machines.xsd ~/.cime/config_machines.xml
|prompt=[name@server ~]$|module load cesm/2.1.3 && xmllint --noout --schema $EBROOTCESM/cime/config/xml_schemas/config_machines.xsd ~/.cime/config_machines.xml
Line 180: Line 183:
/home/username/.cime/config_machines.xml validates
/home/username/.cime/config_machines.xml validates
}}
}}
* Check the official template for additional parameters:
</li>
 
<li>Check the official template for additional parameters:
 
{{Command2
{{Command2
|prompt=[name@server ~]$
|prompt=[name@server ~]$
|less $EBROOTCESM/cime/config/xml_schemas/config_machines_template.xml
|less $EBROOTCESM/cime/config/xml_schemas/config_machines_template.xml
}}
}}
</li>
</ul>


=Reference=
=Reference=


* [https://www.cesm.ucar.edu/ Main website]
* [https://www.cesm.ucar.edu/ Main website]
** [https://escomp.github.io/CESM/versions/cesm2.1/html/ CESM Quickstart Guide (CESM2.1)]
** [https://escomp.github.io/CESM/versions/cesm2.2/html/ CESM Quickstart Guide (CESM2.2)]
cc_staff
782

edits