Spack Installation ------------------ Spack may already be available but as a shared read-only instance. In this case, a user-local Spack instance can be cloned with: .. code-block:: bash spack clone ~/spack If :code:`spack` is not available yet, you can follow the installation instructions at https://spack.readthedocs.io/en/latest/getting_started.html#installation In both cases, you will need to initialise the new Spack instance for use. .. code-block:: bash . ~/spack/share/spack/setup-env.sh To get this applied automatically at login for future sessions, add the above line to the bottom of your :code:`~/.bashrc` file. You are now using your own personal Spack instance. On systems with a shared Spack install, your instance by default will be chained to the shared Spack (configured in :code:`~/.spack/upstreams.yaml`) so you can benefit from using the shared packages already installed on the system.