From 93b50fc862eb5dea95656cd1a9e14f25ed870220 Mon Sep 17 00:00:00 2001 From: Dominic Hofer <6570912+dominichofer@users.noreply.github.com> Date: Fri, 6 Sep 2024 10:57:15 +0200 Subject: [PATCH] Update README.md (#995) --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f142221812..865cf95322 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,14 @@ We suggest local/individual spack instances and the use of spack environments. Clone the repository ```bash -git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.20.1.5 https://github.com/C2SM/spack-c2sm.git +git clone --depth 1 --recurse-submodules --shallow-submodules -b v0.21.1.3 https://github.com/C2SM/spack-c2sm.git ``` -Setup the shell environment. +Setup the shell environment and optionally specify an upstream, where spack will look for installed software, i.e. ```bash . spack-c2sm/setup-env.sh +. spack-c2sm/setup-env.sh /user-environment +. spack-c2sm/setup-env.sh /mch-environment/v6 +. spack-c2sm/setup-env.sh /mch-environment/v7 ``` Sourcing this file will put the spack command in your PATH, set up your MODULEPATH to use Spack’s packages, and add other useful shell integration for certain commands, environments, and modules. For bash, it also sets up tab completion. (source: [spack docu](https://spack.readthedocs.io/en/v0.21.1/getting_started.html#shell-support))