LLMs as Packagers of HPC Software

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Melone, Caetano, Nichols, Daniel, Parasyris, Konstantinos, Gamblin, Todd, Menon, Harshitha
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909893978488832
author Melone, Caetano
Nichols, Daniel
Parasyris, Konstantinos
Gamblin, Todd
Menon, Harshitha
author_facet Melone, Caetano
Nichols, Daniel
Parasyris, Konstantinos
Gamblin, Todd
Menon, Harshitha
contents High performance computing (HPC) software ecosystems are inherently heterogeneous, comprising scientific applications that depend on hundreds of external packages, each with distinct build systems, options, and dependency constraints. Tools such as Spack automate dependency resolution and environment management, but their effectiveness relies on manually written build recipes. As these ecosystems grow, maintaining existing specifications and creating new ones becomes increasingly labor-intensive. While large language models (LLMs) have shown promise in code generation, automatically producing correct and maintainable Spack recipes remains a significant challenge. We present a systematic analysis of how LLMs and context-augmentation methods can assist in the generation of Spack recipes. To this end, we introduce SpackIt, an end-to-end framework that combines repository analysis, retrieval of relevant examples, and iterative refinement through diagnostic feedback. We apply SpackIt to a representative subset of 308 open-source HPC packages to assess its effectiveness and limitations. Our results show that SpackIt increases installation success from 20% in a zero-shot setting to over 80% in its best configuration, demonstrating the value of retrieval and structured feedback for reliable package synthesis.
format Preprint
id arxiv_https___arxiv_org_abs_2511_05626
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLMs as Packagers of HPC Software
Melone, Caetano
Nichols, Daniel
Parasyris, Konstantinos
Gamblin, Todd
Menon, Harshitha
Software Engineering
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
High performance computing (HPC) software ecosystems are inherently heterogeneous, comprising scientific applications that depend on hundreds of external packages, each with distinct build systems, options, and dependency constraints. Tools such as Spack automate dependency resolution and environment management, but their effectiveness relies on manually written build recipes. As these ecosystems grow, maintaining existing specifications and creating new ones becomes increasingly labor-intensive. While large language models (LLMs) have shown promise in code generation, automatically producing correct and maintainable Spack recipes remains a significant challenge. We present a systematic analysis of how LLMs and context-augmentation methods can assist in the generation of Spack recipes. To this end, we introduce SpackIt, an end-to-end framework that combines repository analysis, retrieval of relevant examples, and iterative refinement through diagnostic feedback. We apply SpackIt to a representative subset of 308 open-source HPC packages to assess its effectiveness and limitations. Our results show that SpackIt increases installation success from 20% in a zero-shot setting to over 80% in its best configuration, demonstrating the value of retrieval and structured feedback for reliable package synthesis.
title LLMs as Packagers of HPC Software
topic Software Engineering
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2511.05626