Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Increasing Software Testing Coverage and Portability with Spack

Conference ·
OSTI ID:1498718
 [1];  [1]
  1. National Renewable Energy Laboratory (NREL), Golden, CO (United States)

Adequate testing coverage is critical for successful scientific software development. For numerically intensive codes, the test matrix should cover a variety of machines, compilers, third-party library dependencies, as well as possible other features such as memory testing, parallelization paradigms, and application options that may be enabled or disabled, as some examples. Such coverage can be a major burden on developers without powerful methods for managing the matrix. Spack is a great tool developed by Lawrence Livermore National Lab for managing software on a Unix-based system and in addition to this, we are leveraging Spack to simplify application testing development and management. Here we demonstrate exploiting many of Spack's features to orchestrate the test coverage for the Nalu-Wind application we are developing under the Exascale Computing Project. By using Spack underneath our testing infrastructure, we have increased our testing coverage, portability, robustness, and software quality. While we use our Nalu-Wind application as an example, the benefits of exploiting Spack for application testing can be had for other applications as well.

Research Organization:
National Renewable Energy Laboratory (NREL), Golden, CO (United States)
Sponsoring Organization:
USDOE Office of Science (SC), Advanced Scientific Computing Research (ASCR) (SC-21); USDOE National Nuclear Security Administration (NNSA), Office of Defense Nuclear Security (NA-70)
DOE Contract Number:
AC36-08GO28308
OSTI ID:
1498718
Report Number(s):
NREL/PO-2C00-73335
Country of Publication:
United States
Language:
English

Similar Records

SpackDev: Multi-Package Development with Spack
Conference · Tue Dec 31 23:00:00 EST 2019 · EPJ Web of Conferences (Online) · OSTI ID:1764039

Providing a Flexible and Comprehensive Software Stack Via Spack, an Extreme-Scale Scientific Software Stack, and Software Development Kits
Journal Article · Tue Apr 30 00:00:00 EDT 2024 · Computing in Science and Engineering · OSTI ID:2449726

Developing and Distributing HEP Software Stacks with Spack
Conference · Fri May 23 00:00:00 EDT 2025 · No journal information · OSTI ID:2568555