https://snicdocs.nsc.liu.se/w/index.php?title=Building_EC-Earth4_on_Tetralith&feed=atom&action=history
Building EC-Earth4 on Tetralith - Revision history
2024-03-28T19:21:47Z
Revision history for this page on the wiki
MediaWiki 1.31.10
https://snicdocs.nsc.liu.se/w/index.php?title=Building_EC-Earth4_on_Tetralith&diff=7807&oldid=prev
Hamish Struthers (NSC) at 13:44, 20 May 2021
2021-05-20T13:44:37Z
<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 13:44, 20 May 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l38" >Line 38:</td>
<td colspan="2" class="diff-lineno">Line 38:</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>You can now build individual components using the "se" (ScriptEngine) python module, and the platforms/nsc-tetralith.yml platform definition, e.g. oasis</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>You can now build individual components using the "se" (ScriptEngine) python module, and the platforms/nsc-tetralith.yml platform definition, e.g. oasis</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;"><div><pre></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><pre></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 style="font-weight: bold; text-decoration: none;">> cd /home/x_abcde/Projects/ECE4-trunk/sources/se</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;"><div>> se user-settings.yml platforms/nsc-tetralith.yml compile-oasis.yml > se-output-oasis.log 2>&1</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>> se user-settings.yml platforms/nsc-tetralith.yml compile-oasis.yml > se-output-oasis.log 2>&1</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;"><div></pre></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></pre></div></td></tr>
</table>
Hamish Struthers (NSC)
https://snicdocs.nsc.liu.se/w/index.php?title=Building_EC-Earth4_on_Tetralith&diff=7806&oldid=prev
Hamish Struthers (NSC): Created page with " The documentation below gives the minimal steps required to build EC-Earth 4 on [https://nsc.liu.se/systems/tetralith/ Tetralith]. Please see the [https://ec-earth-4-tutorial..."
2021-05-20T13:42:21Z
<p>Created page with " The documentation below gives the minimal steps required to build EC-Earth 4 on [https://nsc.liu.se/systems/tetralith/ Tetralith]. Please see the [https://ec-earth-4-tutorial..."</p>
<p><b>New page</b></p><div><br />
The documentation below gives the minimal steps required to build EC-Earth 4 on [https://nsc.liu.se/systems/tetralith/ Tetralith]. Please see the [https://ec-earth-4-tutorial.readthedocs.io/en/latest/introduction.html EC-Earth 4 getting started tutorial] for more details.<br />
<br />
;Getting the sources<br />
<br />
The source code can be downloaded form the [https://dev.ec-earth.org/projects/ec-earth-4 EC-Earth development portal] source code repository. Check available model versions using:<br />
<pre><br />
> svn ls https://svn.ec-earth.org/ecearth4/trunk<br />
</pre><br />
<br />
The source code should be downloaded into the <tt>/home</tt> file system. This ensures that your code, and configuration files are backed up. For example:<br />
<pre><br />
> mkdir Projects<br />
> cd ~/Projects<br />
> svn co https://svn.ec-earth.org/ecearth4/trunk ECE4-trunk<br />
</pre><br />
<br />
;ECE4 conda environment<br />
<br />
A pre-prepared conda environment for EC-Earth4 is available for use in <tt>/proj/bolinc/shared/software/Python/ECE4</tt>. To activate this environment:<br />
<pre><br />
> module load Anaconda/2020.07-nsc1<br />
> conda activate /proj/bolinc/shared/software/Python/ECE4<br />
</pre><br />
<br />
;Building the EC-Earth 4 components<br />
<br />
Edit the <tt><base>/sources/se/user-settings.yml</tt> line 9 such that the "base_dir" variable points to the correct path for your EC-Earth 4 model. From the example above: <br />
<br />
base_dir: "/home/x_abcde/Projects/ECE4-trunk"<br />
<br />
Load the intel 2018a-eb build envirunment module:<br />
<br />
<pre><br />
> module load buildenv-intel/2018a-eb<br />
</pre><br />
<br />
You can now build individual components using the "se" (ScriptEngine) python module, and the platforms/nsc-tetralith.yml platform definition, e.g. oasis<br />
<pre><br />
> se user-settings.yml platforms/nsc-tetralith.yml compile-oasis.yml > se-output-oasis.log 2>&1<br />
</pre></div>
Hamish Struthers (NSC)