Lune

SC2024Top-tier venue

A Probabilistic Approach To Selecting Build Configurations in Package Managers

Daniel Nichols, Harshitha Menon, Todd Gamblin, Abhinav Bhatele

Abstract

Modern scientific software in high performance computing is often complex, and many parallel applications and libraries depend on several other software or libraries. Developers and users of such complex software often use package managers for building them. Package managers depend on humans to codify package constraints (for dependency and version selection), and the dependency graph of a software package can often become large (hundreds of vertices). In addition, package constraints often become outdated and inconsistent over time since they are maintained by different people for different packages, which is a laborious task. This can result in package builds to fail for certain package configurations. In this paper, we propose a methodology that uses historical build results to assist a package manager in selecting the best versions of package dependencies with an aim to improve the likelihood of a successful build. We utilize a machine learning (ML) model to predict the probability of build outcomes of different configurations of packages in the Spack package manager. When evaluated on common scientific software stacks, this ML model-based approach is able to achieve a 13%13 \% higher success rate in building packages than the default version selection mechanism in Spack.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • XaaS Containers: Performance-Portable Representation With Source and IR Containers cites Using Answer Set Programming for HPC Dependency Solving
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. XaaS Containers: Performance-Portable Representation With Source and IR ContainersMarcin Copik, Eiman Alnuaimi, Alok Kamatar, Valérie Hayot-Sasson et al.SC 2025 · 2 citations

Builds on1

  1. Using Answer Set Programming for HPC Dependency SolvingTodd Gamblin, Massimiliano Culpo, Gregory Becker, Sergei ShudlerSC 2022 · 7 citations

Related papers

  1. Bridging the Gap Between Binary and Source Based Package Management in SpackJohn Gouwar, Gregory Becker, Tamara Dahlgren, Nathan Hanford et al.SC 2025 · 1 citation
  2. Mapping Out the HPC Dependency ChaosFarid Zakaria, Thomas R. W. Scogland, Todd Gamblin, Carlos MaltzahnSC 2022 · 3 citations
  3. Generalizable and interpretable learning for configuration extrapolationYi Ding, Ahsan Pervaiz, Michael Carbin, Henry HoffmannFSE 2021 · 11 citations
  4. Discovering Parallelisms in Python ProgramsSiwei Wei, Guyang Song, Senlin Zhu, Ruoyi Ruan et al.FSE 2023 · 1 citation
  5. Fixing dependency errors for Python build reproducibilitySuchita Mukherjee, Abigail Almanza, Cindy Rubio-GonzálezISSTA 2021 · 55 citations
Dusk over the sea between two cliffs drawn in fine vertical lines