Skip to content

Commit cfa9ace

Browse files
authored
Update Spack installation documentation (CExA-project#982)
1 parent f263d77 commit cfa9ace

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

docs/installation.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,22 @@ It is recommended on HPC systems or if you want an isolated environment.
5555

5656
### 1. Install Spack
5757

58-
Download and extract the latest Spack release (replace version if newer is available):
58+
Download and extract Spack:
5959

6060
```bash
61-
wget https://github.com/spack/spack/releases/download/v1.0.1/spack-1.0.1.tar.gz
62-
tar -xvf spack-1.0.1.tar.gz
63-
rm spack-1.0.1.tar.gz
61+
wget https://github.com/spack/spack/releases/download/v1.1.0/spack-1.1.0.tar.gz
62+
tar -xvf spack-1.1.0.tar.gz
63+
rm spack-1.1.0.tar.gz
6464
```
6565

66+
\note If you already have a Spack installation, the DDC package is available starting from builtin packages `v2025.11.0`.
67+
6668
### 2. Activate Spack
6769

6870
Spack must be activated before use:
6971

7072
```bash
71-
. spack-1.0.1/share/spack/setup-env.sh
73+
. spack-1.1.0/share/spack/setup-env.sh
7274
```
7375

7476
\note Add this line to your `~/.bashrc` or `~/.zshrc` to avoid reactivating in each new shell.
@@ -81,14 +83,6 @@ To avoid polluting other Spack setups, create a dedicated environment:
8183
spack env create ddc-env
8284
```
8385

84-
Pin the Spack built-in packages repository to the commit of DDC recipe release (ensures recipe compatibility):
85-
86-
```bash
87-
spack --env ddc-env repo update builtin --commit 633ec00a198102d61e7ffcdd551cd455a8689e66
88-
```
89-
90-
\note Starting from **Spack packages v2025.7.0**, this step will no longer be needed.
91-
9286
Add and install DDC with default variants:
9387

9488
```bash

0 commit comments

Comments
 (0)