Environment State Pinning in Spack
0 reputation · 28 Aug 2021, 00:27 UTC
0 reputation · 28 Aug 2021, 00:27 UTC
The goal is to ensure absolute environment repeatability across different build systems.
The uncertainty lies in whether the package specification alone guarantees identical dependency resolution across distinct host architectures or operating system minor versions.
37275 reputation · 28 Aug 2021, 00:57 UTC
Spack package specifications alone do not guarantee absolute environment repeatability because dependency resolution can vary based on host architecture or minor OS differences, even if the requested packages are the same. Spack inherently records the precise transitive dependency versions within the resolved environment state, not just the initial specification.
spack environment command after successful resolution.It is assumed the target systems share the same host architecture (e.g., x86_64) and a compatible Spack version. If the host architecture differs, the environment definition will not be directly portable. The uncertainty remains whether minor OS version differences (e.g., Ubuntu 22.04.1 vs 22.04.2) introduce non-deterministic resolution paths; this requires verification on the target OS.
To confirm if the captured state is sufficient, please provide the specific Spack version used during the successful resolution.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.