https://snicdocs.nsc.liu.se/w/index.php?title=Building_CESM_models_on_the_PDC_Beskow_system&feed=atom&action=history
Building CESM models on the PDC Beskow system - Revision history
2024-03-28T10:38:58Z
Revision history for this page on the wiki
MediaWiki 1.31.10
https://snicdocs.nsc.liu.se/w/index.php?title=Building_CESM_models_on_the_PDC_Beskow_system&diff=6202&oldid=prev
Hamish Struthers (NSC) at 14:37, 18 January 2016
2016-01-18T14:37:43Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:37, 18 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4" >Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;The CESM models - Getting the source code</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;The CESM models - Getting the source code</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>CESM is a free, open source model, but a short [http://www.cesm.ucar.edu/models/cesm1.1/register/register_cesm1.1.cgi registeration] is required before access to the subversion repository is granted. The source code, build and run scripts can be downloaded as described in the CESM1 [http://www.cesm.ucar.edu/models/cesm1.1/cesm/doc/usersguide/book1.html user guide]. To list the available model versions, after CESM registration (on <del class="diffchange diffchange-inline">triloith</del>):</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>CESM is a free, open source model, but a short [http://www.cesm.ucar.edu/models/cesm1.1/register/register_cesm1.1.cgi registeration] is required before access to the subversion repository is granted. The source code, build and run scripts can be downloaded as described in the CESM1 [http://www.cesm.ucar.edu/models/cesm1.1/cesm/doc/usersguide/book1.html user guide]. To list the available model versions, after CESM registration (on <ins class="diffchange diffchange-inline">beskow</ins>):</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:<code>svn list https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:<code>svn list https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags</code></div></td></tr>
</table>
Hamish Struthers (NSC)
https://snicdocs.nsc.liu.se/w/index.php?title=Building_CESM_models_on_the_PDC_Beskow_system&diff=6201&oldid=prev
Hamish Struthers (NSC) at 14:15, 18 January 2016
2016-01-18T14:15:56Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:15, 18 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l48" >Line 48:</td>
<td colspan="2" class="diff-lineno">Line 48:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>6. Edit the env_run.xml and the $CASE.run files for the particular simulation you wish to make, then submit your job:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>6. Edit the env_run.xml and the $CASE.run files for the particular simulation you wish to make, then submit your job:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<code>sbatch <del class="diffchange diffchange-inline">./</del>lbtest-f19_g16-B.run</code></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:<code>sbatch <ins class="diffchange diffchange-inline">-A <your-snic-project-code> </ins>lbtest-f19_g16-B.run</code></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">7. The default output root folder is <tt>$SNIC_TMP</tt>, see: <tt>env_build.xml</tt> and <tt>env_run.xml</tt> in the case folder and the <tt>config_machines.xml</tt> file in <tt><cesm-base>/cesm1.2.2/scripts/Machines</tt>.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{set category list|field|Climate research}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{set category list|field|Climate research}}</div></td></tr>
</table>
Hamish Struthers (NSC)
https://snicdocs.nsc.liu.se/w/index.php?title=Building_CESM_models_on_the_PDC_Beskow_system&diff=6200&oldid=prev
Hamish Struthers (NSC) at 10:56, 18 January 2016
2016-01-18T10:56:55Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 10:56, 18 January 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l25" >Line 25:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>3. Files containing beskow specific machine environment variables have been created and are stored in the folder /cfs/nobackup/x/xhamst/Public/cesm/cesm1.2.2. These files should be copied to the appropriate location in your local distribution. Based on the steps above:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>3. Files containing beskow specific machine environment variables have been created and are stored in the folder /cfs/nobackup/x/xhamst/Public/cesm/cesm1.2.2. These files should be copied to the appropriate location in your local distribution. Based on the steps above:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Copy the files to <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Machine. <del class="diffchange diffchange-inline">e.g. for CESM1.2.2 and above</del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Copy the files to <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Machine.  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:<code>cd <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Machines</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:<code>cd <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Machines</code></div></td></tr>
</table>
Hamish Struthers (NSC)
https://snicdocs.nsc.liu.se/w/index.php?title=Building_CESM_models_on_the_PDC_Beskow_system&diff=6199&oldid=prev
Hamish Struthers (NSC): Created page with "This page describes the building the [http://www.cesm.ucar.edu/models/cesm1.2/ CESM] series of models on PDC's beskow system ([https://www.pdc.kth.se/resources/computers/beskow b..."
2016-01-18T10:19:35Z
<p>Created page with "This page describes the building the [http://www.cesm.ucar.edu/models/cesm1.2/ CESM] series of models on PDC's beskow system ([https://www.pdc.kth.se/resources/computers/beskow b..."</p>
<p><b>New page</b></p><div>This page describes the building the [http://www.cesm.ucar.edu/models/cesm1.2/ CESM] series of models on PDC's beskow system ([https://www.pdc.kth.se/resources/computers/beskow beskow]). <br />
<br />
<br />
;The CESM models - Getting the source code<br />
<br />
CESM is a free, open source model, but a short [http://www.cesm.ucar.edu/models/cesm1.1/register/register_cesm1.1.cgi registeration] is required before access to the subversion repository is granted. The source code, build and run scripts can be downloaded as described in the CESM1 [http://www.cesm.ucar.edu/models/cesm1.1/cesm/doc/usersguide/book1.html user guide]. To list the available model versions, after CESM registration (on triloith):<br />
<br />
:<code>svn list https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags</code><br />
<br />
<br />
;Building and configuring the model<br />
<br />
As, an example. to create a CESM1.2.2 version in some base folder <tt><cesm-base></tt>:<br />
<br />
1. Change to the appropriate folder<br />
<br />
:<code>cd <cesm-base></code><br />
<br />
<br />
2. Checkout version 1.2.2<br />
<br />
:<code>svn co https://svn-ccsm-models.cgd.ucar.edu/cesm1/release_tags/cesm1_2_2 cesm1.2.2</code><br />
<br />
<br />
3. Files containing beskow specific machine environment variables have been created and are stored in the folder /cfs/nobackup/x/xhamst/Public/cesm/cesm1.2.2. These files should be copied to the appropriate location in your local distribution. Based on the steps above:<br />
<br />
Copy the files to <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Machine. e.g. for CESM1.2.2 and above<br />
<br />
:<code>cd <cesm-base>/cesm1.2.2/scripts/ccsm_utils/Machines</code><br />
:<code>cp /cfs/nobackup/x/xhamst/Public/cesm/cesm1.2.2/* .</code><br />
<br />
<br />
4. CESM1 can now be built in the usual way as described in the CESM1 users guide (see [http://www.cesm.ucar.edu/models/cesm1.1/cesm/doc/usersguide/c588.html Creating and Setting Up A Case]) using 'beskow' for the machine designation.<br />
<br />
For example, to create a new 'f19_g16' resolution case using the 'B' compset:<br />
<br />
:<code>cd <cesm-base>/cesm1.2.2/scripts/</code><br />
:<code>./create_newcase -case ../cases/lbtest-f19_g16-B -res f19_g16 -compset B -mach beskow</code><br />
<br />
<br />
5. Configure and build your model:<br />
<br />
:<code>cd <cesm-base>/cesm1.2.2/cases/lbtest-f19_g16-B</code><br />
:<code>./cesm_setup</code><br />
:<code>./lbtest-f19_g16-B.build</code><br />
<br />
<br />
6. Edit the env_run.xml and the $CASE.run files for the particular simulation you wish to make, then submit your job:<br />
<br />
:<code>sbatch ./lbtest-f19_g16-B.run</code><br />
<br />
<br />
<br />
{{set category list|field|Climate research}}</div>
Hamish Struthers (NSC)