Skip to content

Commit 2d9b674

Browse files
committed
Update spack-2 blog, use asciinema
1 parent 9b80ac9 commit 2d9b674

12 files changed

Lines changed: 12 additions & 25 deletions

docs/blog/posts/2026/01/Spack-on-top-of-EESSI-PoC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ but this is a nice first step...
9090
This work is being done in collaboration with members of the Spack development team,
9191
including Todd Gamblin and Massimiliano Culpo.
9292

93-
The code and scripts developed for this proof-of-concept are available in the [EasySpack repository](https://github.com/lorisercole/easyspack). See "Approach #2 [legacy]" in the README for implementation details.
93+
The code and scripts developed for this proof-of-concept are available in the [Spood repository](https://github.com/lorisercole/spood). See "Approach #2 [legacy]" in the README for implementation details.
9494

9595
For updates, check the [dedicated support issue](https://gitlab.com/eessi/support/-/issues/170)
9696
that was opened on using Spack on top of EESSI, or stay tuned for future blog posts!

docs/blog/posts/2026/02/Spack-on-top-of-EESSI-best-of-both-worlds.md

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -147,68 +147,55 @@ In EESSI, these are often dependencies of software installations in the software
147147

148148
This can be done automatically via `spack external find`:
149149

150-
![Detect compat-layer packages with spack external find](spack-eessi-20260205-002.webp)
150+
<script src="https://asciinema.org/a/ZPTl79rWWYdmMqIf.js" id="asciicast-ZPTl79rWWYdmMqIf" async="true"></script>
151151

152152

153153
### Step 3 – Show configured externals
154154

155155
Externals can then be listed via `spack find --show-configured-externals`.
156156
These packages will get reused during Spack solves by default.
157157

158-
![Show configured externals](spack-eessi-20260205-003.webp)
158+
![Show configured externals](spack-eessi-20260205-001.webp)
159159

160160

161161
### Step 4 – Build a new Quantum ESPRESSO with Spack
162162

163163
We can now build new packages with Spack, reusing EESSI installations as dependencies!
164164
Let's try this out by building a new Quantum ESPRESSO with Spack.
165165

166-
We first check what the concretizer comes up with, using `spack spec`:
166+
We first check what the concretizer comes up with, using `spack spec -I quantum-espresso~mpi`:
167167

168-
![Spack spec for quantum-espresso](spack-eessi-20260205-004.webp)
168+
![Spack spec for quantum-espresso](spack-eessi-20260205-002.webp)
169169

170170
Looks good! Spack is reusing EESSI packages as external dependencies.
171171
It only needs to build the new `quantum-espresso` itself and a few Spack-specific packages: `compiler-wrapper` that is Spack's compiler wrapper, and `gcc-runtime` that is a local copy of the GCC runtime libraries that are provided by EESSI's `gcc@13.2.0`.
172172

173173
Finally, we can proceed with the installation with `spack install quantum-espresso~mpi`:
174174

175-
![Installing Quantum ESPRESSO with Spack on top of EESSI](spack-eessi-20260205-006.webp)
175+
<script src="https://asciinema.org/a/1FQKm1E31JpKxY8O.js" id="asciicast-1FQKm1E31JpKxY8O" async="true"></script>
176176

177177

178178
### Step 5 – Verify and run Quantum ESPRESSO
179179

180180
Finally, we can verify that the new Quantum ESPRESSO installation works correctly by running it:
181181

182-
![Running Quantum ESPRESSO installed with Spack](spack-eessi-20260205-005.webp)
182+
![Running Quantum ESPRESSO installed with Spack](spack-eessi-20260205-003.webp)
183183

184184
When we inspect the `pw.x` binary, we can see that it links to libraries provided by EESSI:
185185

186-
![Inspecting the list of libraries that `pw.x` binary links to](spack-eessi-20260205-007.webp)
186+
![Inspecting the list of libraries that `pw.x` binary links to](spack-eessi-20260205-004.webp)
187187

188188
(the only exception being `libgomp`, `libgfortran`, `libgcc_s` which come from the `gcc-runtime` package that Spack installs).
189189

190190

191191
## Demo code
192192

193-
A demonstrated implementation of the presented approach is now available in the [EasySpack repository](https://github.com/lorisercole/easyspack).
193+
A demonstrated implementation of the presented approach is now available in the [Spood repository](https://github.com/lorisercole/spood).
194194

195-
A simple [example script](https://github.com/lorisercole/easyspack/blob/develop/quick_start.sh) showcases the workflow.
196-
It only requires a running EESSI environment and a patched Spack installation (see instructions in the [README](https://github.com/lorisercole/easyspack/blob/develop/README.md)).
195+
A simple [example script](https://github.com/lorisercole/spood/blob/develop/quick_start.sh) showcases the workflow.
196+
It only requires a running EESSI environment and a patched Spack installation (see instructions in the [README](https://github.com/lorisercole/spood/blob/develop/README.md)):
197197

198-
<details>
199-
<summary>Example output of `quick_start.sh`</summary>
200-
201-
<figure>
202-
<img src="../../easyspack-demo-1.webp" alt="Output of quick_start.sh" />
203-
</figure>
204-
<figure>
205-
<img src="../../easyspack-demo-2.webp" alt="Output of quick_start.sh" />
206-
</figure>
207-
<figure>
208-
<img src="../../easyspack-demo-3.webp" alt="Output of quick_start.sh" />
209-
</figure>
210-
211-
</details>
198+
<script src="https://asciinema.org/a/9ev5dA1e4sHvNigz.js" id="asciicast-9ev5dA1e4sHvNigz" async="true"></script>
212199

213200

214201
## Conclusions and outlook
-326 KB
Binary file not shown.
-261 KB
Binary file not shown.
-361 KB
Binary file not shown.
422 KB
Loading
68.8 KB
Loading
-306 KB
Loading
-3.19 KB
Loading
-116 KB
Binary file not shown.

0 commit comments

Comments
 (0)