Skip to content

Commit

Permalink
[doc] Use SPACK_TAG_DAINT in example (C2SM#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnikaLau authored Apr 25, 2024
1 parent 009239c commit 1cf5293
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/QuickStart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ICON
ICON is built using environments.
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*``.
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::
Expand All @@ -111,11 +111,11 @@ To install the environment and so ICON, type
$ spack install
Example to build ICON for CPU with NVHPC:
Example to build ICON for CPU with NVHPC on Piz Daint:

.. code-block:: console
$ SPACK_TAG=$(cat "config/cscs/SPACK_TAG")
$ SPACK_TAG=$(cat "config/cscs/SPACK_TAG_DAINT")
$ spack env activate -d config/cscs/spack/$SPACK_TAG/daint_cpu_nvhpc
$ spack install
Expand Down

0 comments on commit 1cf5293

Please sign in to comment.