Skip to content

Commit

Permalink
deploy: 109dc0f
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichofer committed Nov 15, 2023
1 parent 67c3bc0 commit a522b19
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
Binary file modified latest/.doctrees/QuickStart.doctree
Binary file not shown.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
10 changes: 6 additions & 4 deletions latest/QuickStart.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
<h1>Quick Start<a class="headerlink" href="#quick-start" title="Permalink to this heading"></a></h1>
<section id="at-cscs-daint-tsa-balfrin">
<h2>At CSCS (Daint, Tsa, Balfrin)<a class="headerlink" href="#at-cscs-daint-tsa-balfrin" title="Permalink to this heading"></a></h2>
<p>To set up a Spack instance, clone the repository</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>--depth<span class="w"> </span><span class="m">1</span><span class="w"> </span>--recurse-submodules<span class="w"> </span>--shallow-submodules<span class="w"> </span>-b<span class="w"> </span>v0.20.1.0<span class="w"> </span>https://github.com/C2SM/spack-c2sm.git
<p>To set up a Spack instance, clone the repository using a specific Spack tag (latest <code class="docutils literal notranslate"><span class="pre">SPACK_TAG=v0.20.1.0</span></code>).</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>--depth<span class="w"> </span><span class="m">1</span><span class="w"> </span>--recurse-submodules<span class="w"> </span>--shallow-submodules<span class="w"> </span>-b<span class="w"> </span><span class="nv">$SPACK_TAG</span><span class="w"> </span>https://github.com/C2SM/spack-c2sm.git
</pre></div>
</div>
<p>To load it into your command line, execute</p>
Expand Down Expand Up @@ -148,8 +148,10 @@ <h2>Use packages<a class="headerlink" href="#use-packages" title="Permalink to t
<section id="icon">
<h2>ICON<a class="headerlink" href="#icon" title="Permalink to this heading"></a></h2>
<p>ICON is built using environments.
Environments sit in a folder with a name and are defined in a <code class="docutils literal notranslate"><span class="pre">spack.yaml</span></code> file.
For ICON, they are located in <code class="docutils literal notranslate"><span class="pre">config/cscs/spack/&lt;version&gt;/&lt;machine&gt;_&lt;target&gt;_&lt;compiler&gt;</span></code>.</p>
Environments are located in a folder named after the environment and are defined in a <code class="docutils literal notranslate"><span class="pre">spack.yaml</span></code> file.
For ICON, they are located in <code class="docutils literal notranslate"><span class="pre">config/cscs/spack/&lt;version&gt;/&lt;machine&gt;_&lt;target&gt;_&lt;compiler&gt;</span></code>.
They work with a special Spack tag, that is provided in the ICON repository at <code class="docutils literal notranslate"><span class="pre">config/cscs/SPACK_TAG*</span></code>.
So make sure you clone Spack with the specified tag.</p>
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<p><strong>On Balfrin:</strong>
Expand Down
8 changes: 5 additions & 3 deletions latest/_sources/QuickStart.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Quick Start
At CSCS (Daint, Tsa, Balfrin)
-----------------------------

To set up a Spack instance, clone the repository
To set up a Spack instance, clone the repository using a specific Spack tag (latest ``SPACK_TAG=v0.20.1.0``).

.. code-block:: console
$ git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.20.1.0 https://github.com/C2SM/spack-c2sm.git
$ git clone --depth 1 --recurse-submodules --shallow-submodules -b $SPACK_TAG https://github.com/C2SM/spack-c2sm.git
To load it into your command line, execute

Expand Down Expand Up @@ -84,8 +84,10 @@ ICON
----

ICON is built using environments.
Environments sit in a folder with a name and are defined in a ``spack.yaml`` file.
Environments are located in a folder named after the environment and are defined in a ``spack.yaml`` file.
For ICON, they are located in ``config/cscs/spack/<version>/<machine>_<target>_<compiler>``.
They work with a special Spack tag, that is provided in the ICON repository at ``config/cscs/SPACK_TAG*``.
So make sure you clone Spack with the specified tag.

.. tip::
**On Balfrin:**
Expand Down
Loading

0 comments on commit a522b19

Please sign in to comment.