CESM: Difference between revisions

Jump to navigation Jump to search
Creating a test case
(Updated machine files and new batch file)
(Creating a test case)
Line 2: Line 2:


=Porting and Validating=
=Porting and Validating=
The below configuration files and commands are designed for the module of CESM version 2.1.3:
{{Command2
|prompt=[name@server ~]$
|module load cesm/2.1.3
}}


==Local machine file==
==Local machine file==
Line 224: Line 231:


{{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 ~]$
|xmllint --noout --schema $EBROOTCESM/cime/config/xml_schemas/config_machines.xsd ~/.cime/config_machines.xml
|result=
/home/name/.cime/config_machines.xml validates
}}
{{Command2
|prompt=[name@beluga ~]$
|query_config --machines current
|result=
|result=
/home/username/.cime/config_machines.xml validates
  beluga (current) : https://docs.alliancecan.ca/wiki/Béluga/en
      os              LINUX
      compilers      intel,gnu
      pes/node        40
      max_tasks/node  40
}}
}}
</li>
</li>
Line 271: Line 289:


{{Command2
{{Command2
|prompt=[name@server ~]$|module load cesm/2.1.3 && xmllint --noout --schema $EBROOTCESM/cime/config/xml_schemas/config_batch.xsd ~/.cime/config_batch.xml
|prompt=[name@server ~]$
|xmllint --noout --schema $EBROOTCESM/cime/config/xml_schemas/config_batch.xsd ~/.cime/config_batch.xml
|result=
|result=
/home/username/.cime/config_batch.xml validates
/home/name/.cime/config_batch.xml validates
}}
}}
</li>
</li>
Line 279: Line 298:
<li>Check the documentation for additional <b>[https://esmci.github.io/cime/versions/maint-5.6/html/xml_files/cesm.html#cimeroot-config-cesm-machines configuration parameters and examples]</b>.</li>
<li>Check the documentation for additional <b>[https://esmci.github.io/cime/versions/maint-5.6/html/xml_files/cesm.html#cimeroot-config-cesm-machines configuration parameters and examples]</b>.</li>
</ul>
</ul>
==Creating a test case==
The following command assumes the default model <code>cesm</code> and the <code>current</code> machine:
{{Command2
|prompt=[name@server ~]$
|create_newcase --case test_case --compset IHistClm50Bgc --res f19_g17
}}


=Reference=
=Reference=
cc_staff
782

edits

Navigation menu