generated from just-the-docs/just-the-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
132 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2281,6 +2281,15 @@ | |
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
<li class="md-nav__item"> | ||
<a href="#santis" class="md-nav__link"> | ||
<span class="md-ellipsis"> | ||
Santis | ||
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
</ul> | ||
|
@@ -3052,6 +3061,15 @@ | |
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
<li class="md-nav__item"> | ||
<a href="#santis" class="md-nav__link"> | ||
<span class="md-ellipsis"> | ||
Santis | ||
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
</ul> | ||
|
@@ -3155,10 +3173,29 @@ <h3 id="todi">Todi<a class="headerlink" href="#todi" title="Permanent link">&par | |
<p class="admonition-title">Under construction - last update: 2024-09-20</p> | ||
<p>Information on this section is not yet complete nor final. It will be updated following the progress of the Alps system deployment at CSCS and C2SM's adaptation to this new system. Please use the <a href="https://github.com/C2SM/Tasks-Support/discussions" target="_blank">C2SM support forum <span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z"/></svg></span></a> in case of questions regarding building ICON on Alps.</p> | ||
</div> | ||
<p>On Todi, Spack is also used to build ICON. However, these is no suitable <code>spack.yaml</code> file present for the Spack environment. Therefore, create a <code>spack.yaml</code> file and use the software stack upstream provided by the user environment.</p> | ||
<p>On Todi, Spack is also used to build ICON. However, there is no suitable <code>spack.yaml</code> file present for the Spack environment. Therefore, create a <code>spack.yaml</code> file and use the software stack upstream provided by the user environment.</p> | ||
<p><strong>1. Create a <code>spack.yaml</code> file</strong></p> | ||
<p>From your ICON root folder:</p> | ||
<div class="tabbed-set tabbed-alternate" data-tabs="2:1"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">config/cscs/spack/v0.21.1.3/todi_gpu_nvhpc/spack.yaml</label></div> | ||
<p>Create the following files from the ICON build folder (different to the ICON root folder in case of a out-of-source build).</p> | ||
<p>For CPU compilation:</p> | ||
<div class="tabbed-set tabbed-alternate" data-tabs="2:1"><input checked="checked" id="__tabbed_2_1" name="__tabbed_2" type="radio" /><div class="tabbed-labels"><label for="__tabbed_2_1">config/cscs/spack/v0.21.1.3/todi_cpu_nvhpc/spack.yaml</label></div> | ||
<div class="tabbed-content"> | ||
<div class="tabbed-block"></div> | ||
</div> | ||
</div> | ||
<div class="highlight"><pre><span></span><code><span class="nt">spack</span><span class="p">:</span> | ||
<span class="w"> </span><span class="nt">specs</span><span class="p">:</span> | ||
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">[email protected]</span> | ||
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">icon @develop %nvhpc +grib2 +eccodes-definitions +ecrad ~emvorado +art +dace +acm-license ~aes ~jsbach ~ocean ~coupling ~rte-rrtmgp ~loop-exchange ~async-io-rma +pgi-inlib</span> | ||
<span class="w"> </span><span class="nt">view</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span> | ||
<span class="w"> </span><span class="nt">concretizer</span><span class="p">:</span> | ||
<span class="w"> </span><span class="nt">unify</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">when_possible</span> | ||
<span class="w"> </span><span class="nt">develop</span><span class="p">:</span> | ||
<span class="w"> </span><span class="nt">icon</span><span class="p">:</span> | ||
<span class="w"> </span><span class="nt">path</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">../../../../..</span> | ||
<span class="w"> </span><span class="nt">spec</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">icon @develop %nvhpc +grib2 +eccodes-definitions +ecrad ~emvorado +art +dace +acm-license ~aes ~jsbach ~ocean ~coupling ~rte-rrtmgp ~loop-exchange ~async-io-rma +pgi-inlib</span> | ||
</code></pre></div> | ||
<p>For GPU compilation:</p> | ||
<div class="tabbed-set tabbed-alternate" data-tabs="3:1"><input checked="checked" id="__tabbed_3_1" name="__tabbed_3" type="radio" /><div class="tabbed-labels"><label for="__tabbed_3_1">config/cscs/spack/v0.21.1.3/todi_gpu_nvhpc/spack.yaml</label></div> | ||
<div class="tabbed-content"> | ||
<div class="tabbed-block"></div> | ||
</div> | ||
|
@@ -3176,6 +3213,7 @@ <h3 id="todi">Todi<a class="headerlink" href="#todi" title="Permanent link">&par | |
<span class="w"> </span><span class="nt">spec</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">icon @develop %nvhpc +grib2 +eccodes-definitions +ecrad ~emvorado +art +dace +acm-license gpu=openacc+cuda +mpi-gpu +realloc-buf ~aes ~jsbach ~ocean ~coupling ~rte-rrtmgp ~loop-exchange ~async-io-rma +pgi-inlib +cuda-graphs</span> | ||
</code></pre></div> | ||
<p><strong>2. Build ICON</strong></p> | ||
<p>Run the following from the ICON root folder: | ||
<div class="highlight"><pre><span></span><code><span class="gp"># </span>Load<span class="w"> </span>ICON<span class="w"> </span>user-environment<span class="w"> </span> | ||
<span class="go">uenv start --view=spack icon-wcp/v1:rc4</span> | ||
|
||
|
@@ -3185,9 +3223,13 @@ <h3 id="todi">Todi<a class="headerlink" href="#todi" title="Permanent link">&par | |
<span class="go">. spack-c2sm/setup-env.sh /user-environment</span> | ||
|
||
<span class="gp"># </span>Build<span class="w"> </span>ICON | ||
<span class="go">cd /path/to/icon</span> | ||
<span class="go">cd /path/to/icon-build-folder</span> | ||
<span class="go">spack env activate -d config/cscs/spack/${SPACK_TAG}/todi_gpu_nvhpc</span> | ||
<span class="go">spack install</span> | ||
</code></pre></div></p> | ||
<h3 id="santis">Santis<a class="headerlink" href="#santis" title="Permanent link">¶</a></h3> | ||
<p>Please follow the instructions for Todi, but run the following before loading the ICON user-environment:</p> | ||
<div class="highlight"><pre><span></span><code><span class="nb">export</span><span class="w"> </span><span class="nv">CLUSTER_NAME</span><span class="o">=</span>todi | ||
</code></pre></div> | ||
<h2 id="run-test-case">Run test case<a class="headerlink" href="#run-test-case" title="Permanent link">¶</a></h2> | ||
<p>In the <em>run</em> folder, you find many prepared test cases, which you can convert into run scripts. To generate the runscript of one of the experiment files, e.g. <em>mch_ch_lowres</em>, you can use the <code>make_runscripts</code> function.</p> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.