Using Answer Set Programming for HPC Dependency Solving
Todd Gamblin, Massimiliano Culpo, Gregory Becker, Sergei Shudler
摘要
Modern scientific software stacks have become extremely complex, using many programming models and libraries to exploit a growing variety of GPUs and accelerators. Package managers can mitigate this complexity using dependency solvers, but they are reaching their limits. Finding compatible dependency versions is NP-complete, and modeling the semantics of package compatibility modulo build-time options, GPU runtimes, flags, and other parameters is extremely difficult. Within this enormous configuration space, defining a "good" configuration is daunting.
We tackle this problem using Answer Set Programming (ASP), a declarative model for combinatorial search problems. We show, using the Spack package manager, that ASP programs can concisely express the compatibility rules of HPC software stacks and provide strong quality-of-solution guarantees. Using ASP, we can mix new builds with preinstalled binaries, and solver performance is acceptable even when considering tens of thousands of packages.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper3
- XaaS Containers: Performance-Portable Representation With Source and IR ContainersMarcin Copik, Eiman Alnuaimi, Alok Kamatar, Valérie Hayot-Sasson 等SC 2025 · 2 次引用
- Bridging the Gap Between Binary and Source Based Package Management in SpackJohn Gouwar, Gregory Becker, Tamara Dahlgren, Nathan Hanford 等SC 2025 · 1 次引用
- A Probabilistic Approach To Selecting Build Configurations in Package ManagersDaniel Nichols, Harshitha Menon, Todd Gamblin, Abhinav BhateleSC 2024 · 1 次引用
相关 Paper
- ApproxASP - a Scalable Approximate Answer Set CounterMohimenul Kabir, Flavio O. Everardo, Ankit K. Shukla, Markus Hecher 等AAAI 2022 · 21 次引用
- Semi-declarative Language for Combinatorial SearchZiyi Yang, Ilya SergeyOOPSLA 2026
- Mapping Out the HPC Dependency ChaosFarid Zakaria, Thomas R. W. Scogland, Todd Gamblin, Carlos MaltzahnSC 2022 · 3 次引用
- Compilation of Aggregates in ASP SystemsGiuseppe Mazzotta, Francesco Ricca, Carmine DodaroAAAI 2022 · 16 次引用
- Learning to Break Symmetries for Efficient Optimization in Answer Set ProgrammingAlice Tarzariol, Martin Gebser, Konstantin Schekotihin, Mark LawAAAI 2023 · 4 次引用
