On the Spack Track @SC19

By Elizabeth Leake

December 5, 2019

At the annual supercomputing conference, SC19 in Denver, Colorado, there were Spack events each day of the conference. As a reflection of its grassroots heritage, nine sessions were planned by more than a dozen thought leaders from seven organizations, including three U.S. national Department of Energy (DOE) laboratories and Sylabs, the company behind Singularity. Thirteen thousand six hundred conference attendees had the chance to learn about Spack from two meet-and-greets, three birds-of-a-feather (BoF) meetings, three papers, and more.

What is Spack?

Spack is an open-source scientific software package manager for high-performance computing (HPC) environments, MacOS and Linux platforms. It simplifies an otherwise tedious and time-consuming task. There are currently more than 3,600 packages in the Spack library; with 2,300 active users and over 480 contributors from national labs, academia and industry, the number of packages is constantly growing and being improved with community input.

From the Spack website, spack.io, “Packages can be built with multiple versions, configurations, platforms, and compilers, and all of these builds can coexist on the same machine. It isn’t tied to a particular language; a software stack can be built in Python or R, link to libraries written in C, C++, or Fortran, easily swap compilers, and target specific microarchitectures. Spack can be used to install without root in a home directory, to manage shared installations and modules, or to build combinatorial versions of software for testing.” Packages are templated so users can easily tune for the host environment.

Ninety attended the November 21 BoF led by Todd Gamblin (Senior Principal Member of Technical Staff at Lawrence Livermore National Laboratory (LLNL), middle); Adam Stewart (UIUC); Massimiliano Culpo (Sylabs, Inc.); Greg Becker (LLNL, right); and Peter Scheibel (LLNL, left).

Gamblin leads the Spack development team at LLNL with fellow computer scientists Becker, Scheibel, Tamara Dahlgren, Gregory Lee, and Matt Legendre. Co-developers are from Argonne National Laboratory; Columbia University; École polytechnique fédérale de Lausanne; Fermi National Accelerator Laboratory, Iowa State University; Kitware, Inc.; NASA Goddard Institute for Space Studies, the Center for Climate Systems Research; the National Energy Research Scientific Computing Center; Perimeter Institute; the University of Hamburg, the University of Illinois at Urbana-Champaign; and the University of Iowa.

With widespread adoption among DOE labs, it’s not surprising that the high-energy physics community based at Fermilab in the U.S. and at CERN (European Organization for Nuclear Research) in Switzerland is replacing a longstanding solution with end-to-end tooling built around Spack.

The BoF incorporated a real-time audience polling tool called Glisser. Participant questions and answers populated pie charts and word clouds, which helped to identify development priorities for the future.

When asked what people loved about Spack, most cited convenience in dealing with dependencies. DOE shared the following victories:

  • At LLNL, Spack was used to automate the radiation hydrodynamics code, ARES, with 40 dependency libraries on a dozen compilers running on Blue Gene/Q and commodity Linux clusters. Porting time on a new platform was reduced from two weeks to three hours.
  • At Oak Ridge National Laboratory, Spack reduced deployment time on Summit, the world’s fastest publicly-ranked supercomputer, from two weeks to twelve hours. Summit’s stack of 1,300 packages can be built overnight.
  • DOE’s Exascale Computing Project (ECP) is tasked with ensuring exascale-readiness for the U.S. lab complex. Its software stack is large and complex; a brand-new class of 90 applications is managed with Spack so that users will be able to easily incorporate them in many different environments. Security features were added to the open-source GitLab product that integrate with each center’s identity management and schedulers, such as SLURM and LSF.
  • The Spack development team is in the process of democratizing a pipeline of software management across six DOE labs; automated package builds with both public and private repositories will work with dozens of systems.

Spack is used with Germany’s SuperMUC-NG at the Leibniz Supercomputing Centre of the Bavarian Academy of Sciences (LRZ). Gerald Mathias, Deputy Leader of the LRZ Application Group, explained that their interest in Spack emerged about two years ago when they were undergoing the procurement process for SuperMUC-NG, LRZ’s new 26.9 petaflops HPC system. On the predecessor system, SuperMUC, they managed the HPC software stack for users individually for each packet. Over the years, the stack had grown so large that they realized it wouldn’t be feasible to continue the practice with the larger system. That’s when they began to port their stack into Spack.

In late 2018, LRZ deployed their beta release of a Spack stack on their heterogeneous Linux cluster which serves local Munich universities. At the same time, they were working on the deployment and acceptance phase of SuperMUC-NG where it was the primary software stack at the start of user operations in August 2019. “Currently, our Spack-managed stack yields about 110 packages which supply some 220 modules to our users,” said Mathias. “Step-by-step, we continue to include more packages, particularly custom software, commercial software and core software-like compilers and MPI libraries,” he added.

Gerald Mathias, LRZ

For the future, they intend to push hard to keep pace with Spack’s rapid development. A key target is to provide a preconfigured Spack instance in user spaces. This will allow users to configure and install their own software, individually, but based on the common software stack provided by LRZ. “Furthermore, the definition of ‘environments’ seems very promising to compose easy-to-use software stacks for different scientific tasks and domains,” Mathias added.

While the majority of use cases represent X86 CPU/GPU environments, the Japanese Flagship Supercomputer Project being conducted by RIKEN, uses Spack to develop packages for their Arm (A64FX) system, Fugaku (formerly Post-K).

“Fugaku is optimized for large scale HPC and AI workflows; for this, together with our industry partner Fujitsu, we developed an HPC optimized Arm chip A64FX, that is three times as fast, and three times more power efficient than any other CPUs, as acknowledged by recent Green500 and other benchmarks. A64FX machines will be commercialized not only by Fujitsu but also Cray/HPE,” said RIKEN Center for Computational Science Director Satoshi Matsuoka (above photo, center). A64FX complies with Arm V8 and server standards; and Fugaku’s software stack is built on top of Red Hat Enterprise Linux. RIKEN and Fujitsu collaborate closely with the Spack development team to fix issues associated with aarch64; Arm 64-bit builds. Being one of the first exascale or near-exascale machines, both hardware and software must scale to an unprecedented magnitude of more than 150,000 nodes. Largely due to such effort centered around Spack, Matsuoka expects that everything running on current Arm and X86 clusters will ultimately run on Fugaku and other A64FX machines, but much, much faster.

According to Matsuoka, Fugaku’s first six racks will arrive at RIKEN this week (December 3, 2019), and by summer 2020, more than 400 racks will be in place. Early adopters will use the system this winter, and once performance benchmark are satisfied in December 2020, the system will go into full production in early 2021.

Glenn Johnson, UI

But not all Spack contributors work at large laboratories with massive systems; in fact, the largest number of contributors work with small to mid-sized clusters in academic research computing environments. HPC Architect Glenn Johnson (University of Iowa) was recognized as a feature contributor on Spack’s DOE R&D 100 Award (Software & Services). He is using Spack on Iowa’s Argon system that features 15,000 cores and 250 GPUs.

What motivates Johnson to contribute? He said, “Building and distributing scientific software applications is very challenging and becoming more so over time,” said Johnson. “Spack provides a tool, and a community, to develop best practices and standards for building and distributing scientific software, while still allowing for site variability. With Spack, as a tool, it is possible to benefit from the work of others while Spack, as a community, provides the opportunity to contribute back and realize the satisfaction that comes from having others benefit from your work,” he added.

As for Spack’s roadmap, DOE labs are leading the effort to detect and label installs for microarchitectures (Skylake, Zen, etc.). They’re optimizing packages for both cloud and static HPC environments and planning to focus on container integration; multi-mode, parallel builds; and better external package detection. They’re also developing a prototype for a new concretizer. In 2020, they will launch a multi-stage container builds that automatically exclude build dependencies from artifacts.

When asked if Spack is sustainable, Gamblin said that the DOE Advanced Simulation and Computing (ASC) program and Exascale Computing Project are funding a strong core team of developers, and are fully committed. The collaboration with Sylabs, which has a user base of 2.5 million developers worldwide, will help establish an even broader base of adoption.

A National Science Foundation/DOE tutorial will soon be added to their website: spack.io.

Photos by Leake, LLNL, and Fumikazu KONISHI. 

About the Author

HPCwire Contributing Editor Elizabeth Leake is a consultant, correspondent and advocate who serves the global high performance computing (HPC) and data science industries. In 2012, she founded STEM-Trek, a global, grassroots nonprofit organization that supports workforce development opportunities for science, technology, engineering and mathematics (STEM) scholars from underserved regions and underrepresented groups.

As a program director, Leake has mentored hundreds of early-career professionals who are breaking cultural barriers in an effort to accelerate scientific and engineering discoveries. Her multinational programs have specific themes that resonate with global stakeholders, such as food security data science, blockchain for social good, cybersecurity/risk mitigation, and more. As a conference blogger and communicator, her work drew recognition when STEM-Trek received the 2016 and 2017 HPCwire Editors’ Choice Awards for Workforce Diversity Leadership.

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industry updates delivered to you every week!

Empowering High-Performance Computing for Artificial Intelligence

April 19, 2024

Artificial intelligence (AI) presents some of the most challenging demands in information technology, especially concerning computing power and data movement. As a result of these challenges, high-performance computing Read more…

Kathy Yelick on Post-Exascale Challenges

April 18, 2024

With the exascale era underway, the HPC community is already turning its attention to zettascale computing, the next of the 1,000-fold performance leaps that have occurred about once a decade. With this in mind, the ISC Read more…

2024 Winter Classic: Texas Two Step

April 18, 2024

Texas Tech University. Their middle name is ‘tech’, so it’s no surprise that they’ve been fielding not one, but two teams in the last three Winter Classic cluster competitions. Their teams, dubbed Matador and Red Read more…

2024 Winter Classic: The Return of Team Fayetteville

April 18, 2024

Hailing from Fayetteville, NC, Fayetteville State University stayed under the radar in their first Winter Classic competition in 2022. Solid students for sure, but not a lot of HPC experience. All good. They didn’t Read more…

Software Specialist Horizon Quantum to Build First-of-a-Kind Hardware Testbed

April 18, 2024

Horizon Quantum Computing, a Singapore-based quantum software start-up, announced today it would build its own testbed of quantum computers, starting with use of Rigetti’s Novera 9-qubit QPU. The approach by a quantum Read more…

2024 Winter Classic: Meet Team Morehouse

April 17, 2024

Morehouse College? The university is well-known for their long list of illustrious graduates, the rigor of their academics, and the quality of the instruction. They were one of the first schools to sign up for the Winter Read more…

Kathy Yelick on Post-Exascale Challenges

April 18, 2024

With the exascale era underway, the HPC community is already turning its attention to zettascale computing, the next of the 1,000-fold performance leaps that ha Read more…

Software Specialist Horizon Quantum to Build First-of-a-Kind Hardware Testbed

April 18, 2024

Horizon Quantum Computing, a Singapore-based quantum software start-up, announced today it would build its own testbed of quantum computers, starting with use o Read more…

MLCommons Launches New AI Safety Benchmark Initiative

April 16, 2024

MLCommons, organizer of the popular MLPerf benchmarking exercises (training and inference), is starting a new effort to benchmark AI Safety, one of the most pre Read more…

Exciting Updates From Stanford HAI’s Seventh Annual AI Index Report

April 15, 2024

As the AI revolution marches on, it is vital to continually reassess how this technology is reshaping our world. To that end, researchers at Stanford’s Instit Read more…

Intel’s Vision Advantage: Chips Are Available Off-the-Shelf

April 11, 2024

The chip market is facing a crisis: chip development is now concentrated in the hands of the few. A confluence of events this week reminded us how few chips Read more…

The VC View: Quantonation’s Deep Dive into Funding Quantum Start-ups

April 11, 2024

Yesterday Quantonation — which promotes itself as a one-of-a-kind venture capital (VC) company specializing in quantum science and deep physics  — announce Read more…

Nvidia’s GTC Is the New Intel IDF

April 9, 2024

After many years, Nvidia's GPU Technology Conference (GTC) was back in person and has become the conference for those who care about semiconductors and AI. I Read more…

Google Announces Homegrown ARM-based CPUs 

April 9, 2024

Google sprang a surprise at the ongoing Google Next Cloud conference by introducing its own ARM-based CPU called Axion, which will be offered to customers in it Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

Synopsys Eats Ansys: Does HPC Get Indigestion?

February 8, 2024

Recently, it was announced that Synopsys is buying HPC tool developer Ansys. Started in Pittsburgh, Pa., in 1970 as Swanson Analysis Systems, Inc. (SASI) by John Swanson (and eventually renamed), Ansys serves the CAE (Computer Aided Engineering)/multiphysics engineering simulation market. Read more…

Intel’s Server and PC Chip Development Will Blur After 2025

January 15, 2024

Intel's dealing with much more than chip rivals breathing down its neck; it is simultaneously integrating a bevy of new technologies such as chiplets, artificia Read more…

Choosing the Right GPU for LLM Inference and Training

December 11, 2023

Accelerating the training and inference processes of deep learning models is crucial for unleashing their true potential and NVIDIA GPUs have emerged as a game- Read more…

Baidu Exits Quantum, Closely Following Alibaba’s Earlier Move

January 5, 2024

Reuters reported this week that Baidu, China’s giant e-commerce and services provider, is exiting the quantum computing development arena. Reuters reported � Read more…

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

Shutterstock 1179408610

Google Addresses the Mysteries of Its Hypercomputer 

December 28, 2023

When Google launched its Hypercomputer earlier this month (December 2023), the first reaction was, "Say what?" It turns out that the Hypercomputer is Google's t Read more…

AMD MI3000A

How AMD May Get Across the CUDA Moat

October 5, 2023

When discussing GenAI, the term "GPU" almost always enters the conversation and the topic often moves toward performance and access. Interestingly, the word "GPU" is assumed to mean "Nvidia" products. (As an aside, the popular Nvidia hardware used in GenAI are not technically... Read more…

Leading Solution Providers

Contributors

Shutterstock 1606064203

Meta’s Zuckerberg Puts Its AI Future in the Hands of 600,000 GPUs

January 25, 2024

In under two minutes, Meta's CEO, Mark Zuckerberg, laid out the company's AI plans, which included a plan to build an artificial intelligence system with the eq Read more…

China Is All In on a RISC-V Future

January 8, 2024

The state of RISC-V in China was discussed in a recent report released by the Jamestown Foundation, a Washington, D.C.-based think tank. The report, entitled "E Read more…

Shutterstock 1285747942

AMD’s Horsepower-packed MI300X GPU Beats Nvidia’s Upcoming H200

December 7, 2023

AMD and Nvidia are locked in an AI performance battle – much like the gaming GPU performance clash the companies have waged for decades. AMD has claimed it Read more…

DoD Takes a Long View of Quantum Computing

December 19, 2023

Given the large sums tied to expensive weapon systems – think $100-million-plus per F-35 fighter – it’s easy to forget the U.S. Department of Defense is a Read more…

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, codenamed Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from Read more…

Eyes on the Quantum Prize – D-Wave Says its Time is Now

January 30, 2024

Early quantum computing pioneer D-Wave again asserted – that at least for D-Wave – the commercial quantum era has begun. Speaking at its first in-person Ana Read more…

GenAI Having Major Impact on Data Culture, Survey Says

February 21, 2024

While 2023 was the year of GenAI, the adoption rates for GenAI did not match expectations. Most organizations are continuing to invest in GenAI but are yet to Read more…

The GenAI Datacenter Squeeze Is Here

February 1, 2024

The immediate effect of the GenAI GPU Squeeze was to reduce availability, either direct purchase or cloud access, increase cost, and push demand through the roof. A secondary issue has been developing over the last several years. Even though your organization secured several racks... Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire