You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blog/posts/2026/01/Spack-on-top-of-EESSI-PoC.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ but this is a nice first step...
90
90
This work is being done in collaboration with members of the Spack development team,
91
91
including Todd Gamblin and Massimiliano Culpo.
92
92
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.
94
94
95
95
For updates, check the [dedicated support issue](https://gitlab.com/eessi/support/-/issues/170)
96
96
that was opened on using Spack on top of EESSI, or stay tuned for future blog posts!
### Step 4 – Build a new Quantum ESPRESSO with Spack
162
162
163
163
We can now build new packages with Spack, reusing EESSI installations as dependencies!
164
164
Let's try this out by building a new Quantum ESPRESSO with Spack.
165
165
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`:
167
167
168
-

168
+

169
169
170
170
Looks good! Spack is reusing EESSI packages as external dependencies.
171
171
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`.
172
172
173
173
Finally, we can proceed with the installation with `spack install quantum-espresso~mpi`:
174
174
175
-

Finally, we can verify that the new Quantum ESPRESSO installation works correctly by running it:
181
181
182
-

182
+

183
183
184
184
When we inspect the `pw.x` binary, we can see that it links to libraries provided by EESSI:
185
185
186
-

186
+

187
187
188
188
(the only exception being `libgomp`, `libgfortran`, `libgcc_s` which come from the `gcc-runtime` package that Spack installs).
189
189
190
190
191
191
## Demo code
192
192
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).
194
194
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)):
197
197
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" />
0 commit comments