Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions common/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@

If you have not done the prior sections, you'll need to start the docker image::

docker run -it ghcr.io/spack/tutorial:pearc25
docker run -it ghcr.io/spack/tutorial:hpcic25

and then set Spack up like this::

git clone --depth=20 --branch=releases/v0.23 https://github.com/spack/spack
git clone --depth=20 --branch=releases/v1.0 https://github.com/spack/spack
. spack/share/spack/setup-env.sh
spack tutorial -y
spack bootstrap now
spack compiler find

See the :ref:`basics-tutorial` for full details on setup. For more
help, join us in the ``#tutorial`` channel on Slack -- get an
invitation at `slack.spack.io <https://slack.spack.io/>`_
See the :ref:`basics-tutorial` for full details on setup. For more help, join us in the ``#tutorial`` channel on Slack -- get an invitation at `slack.spack.io <https://slack.spack.io/>`_

.. warning::

The ``spack tutorial -y`` command is intended for use in a container or VM.
Use with care in other environments since it replaces some configuration files in order to establish suitable settings for the tutorial.