Abstract
High Energy Physics (HEP) experiments, such as the High Luminosity Large Hadron Collider (HL-LHC), are entering an era of unprecedented data volume requiring software stacks that must remain functional for decades. However, scientific software is prone to "software collapse"—the degradation of code as underlying environments and hardware evolve. This paper synthesizes findings from a workshop organized by the Institute for Research and Innovation in Software for High Energy Physics (IRIS-HEP). It identifies critical cultural and technical strategies, including the formalization of Research Software Engineer (RSE) roles, the adoption of industry standards, and the implementation of structured engagement pipelines to ensure the long-term sustainability of the HEP software ecosystem.
Introduction: The Threat of Software Collapse
The scientific community, particularly in High Energy Physics (HEP), relies on complex software stacks to process and analyze massive datasets from facilities like the Large Hadron Collider. Historically, these tools have been developed and maintained by domain scientists who may lack formal software engineering training and are often not professionally incentivized to perform long-term maintenance.
With the HL-LHC expected to operate well into the 2030s, the community faces the challenge of "software collapse." As hardware architectures shift toward GPUs and operating systems evolve, legacy codebases become increasingly difficult to maintain. Ensuring software sustainability is not merely a technical hurdle but a human one: the community must find ways to retain talent and build adaptable, robust code that can survive generational shifts in technology.
Methodology: A Community-Driven Synthesis
This report is based on a virtual workshop organized by IRIS-HEP, which brought together approximately 80 experts from major experiments (ATLAS, CMS), the Software Sustainability Institute (SSI), and open-source communities like Astropy and The Carpentries. The workshop utilized a collaborative approach, featuring presentations on community successes and failures followed by breakout sessions. Participants brainstormed and voted on actionable steps that could be implemented within a two-year timeframe to improve the sustainability of HEP software.
Strategic Insights for Longevity
Several key themes emerged from the workshop regarding how to move beyond fragile, bespoke solutions toward a more resilient ecosystem:
- The Human Element and the RSE: Software longevity is dictated more by institutional support than by the code itself. There is a growing need to formalize the role of the Research Software Engineer (RSE)—specialists who bridge the gap between domain science and professional software engineering. Integrating RSEs into hiring and funding committees is essential to shifting academic culture toward valuing maintenance.
- Adopting Industry Standards: Large collaborations are increasingly moving away from HEP-specific tools in favor of industry standards like Git, CMake, and Docker. This shift reduces the maintenance burden on the scientific community and provides researchers with transferable skills.
- The Engagement Pipeline: Successful open-source projects thrive by intentionally moving users through a development lifecycle. By providing clear documentation and contributing guidelines, projects can transition casual users into active contributors and, eventually, project leaders.
Actionable Outcomes and Community Priorities
The workshop concluded with a prioritization of specific actions to bolster the HEP software ecosystem. The top-voted recommendations include:
- Repurposing Training Funds: Utilizing funds previously allocated for travel to in-person workshops to instead pay developers to create high-quality, sustainable online training content.
- Promoting RSE Career Paths: Actively placing RSEs on advisory and funding panels to ensure that software work is recognized as a first-class scientific contribution.
- Defining Common Software & Services: Establishing community-accepted standards and shared libraries (a "HEP Software Development Kit") to prevent the duplication of effort across different experiments.
- Scaling Performance Training: Modernizing and scaling C++ training to match the accessibility of current Python training, as C++ remains critical for high-performance data processing.
Conclusion and Future Directions
While technical solutions like Continuous Integration (CI) and containerization are well-understood, the primary barriers to software sustainability in HEP remain cultural and institutional. Creating appropriate incentives for young scientists to engage in software maintenance is an ongoing challenge. Future efforts will focus on executing the workshop’s recommendations, including the development of standardized project templates and the advocacy for software contribution awards within major physical societies to ensure that the talent behind the code is recognized and retained.
Summary updated