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 industy updates delivered to you every week!

Summit Now Offers Virtual Tours

August 10, 2020

Summit, the second most powerful publicly ranked supercomputer in the world, now has a virtual tour. The tour, implemented by 3D platform Matterport, allows users to virtually “walk” around the massive supercomputer Read more…

By Oliver Peckham

Supercomputer Simulations Examine Changes in Chesapeake Bay

August 8, 2020

The Chesapeake Bay, the largest estuary in the continental United States, weaves its way south from Maryland, collecting waters from West Virginia, Delaware, DC, Pennsylvania and New York along the way. Like many major e Read more…

By Oliver Peckham

Student Success from ‘Scratch’: CHPC’s Proof is in the Pudding

August 7, 2020

Happy Sithole, who directs the South African Centre for High Performance Computing (SA-CHPC), called the 13th annual CHPC National conference to order on December 1, 2019, at the Birchwood Conference Centre in Kempton Pa Read more…

By Elizabeth Leake

New GE Simulations on Summit to Advance Offshore Wind Power

August 6, 2020

The wind energy sector is a frequent user of high-power simulations, with researchers aiming to optimize wind flows and energy production from the massive turbines. Now, researchers at GE are preparing to undertake a lar Read more…

By Oliver Peckham

Research: A Survey of Numerical Methods Utilizing Mixed Precision Arithmetic

August 5, 2020

Within the past years, hardware vendors have started designing low precision special function units in response to the demand of the machine learning community and their demand for high compute power in low precision for Read more…

By Hartwig Anzt and Jack Dongarra

AWS Solution Channel

AWS announces the release of AWS ParallelCluster 2.8.0

AWS ParallelCluster is a fully supported and maintained open source cluster management tool that makes it easy for scientists, researchers, and IT administrators to deploy and manage High Performance Computing (HPC) clusters in the AWS cloud. Read more…

Intel® HPC + AI Pavilion

Supercomputing the Pandemic: Scientific Community Tackles COVID-19 from Multiple Perspectives

Since their inception, supercomputers have taken on the biggest, most complex, and most data-intensive computing challenges—from confirming Einstein’s theories about gravitational waves to predicting the impacts of climate change. Read more…

Implement Photonic Tensor Cores for Machine Learning?

August 5, 2020

Researchers from George Washington University have reported an approach for building photonic tensor cores that leverages phase change photonic memory to implement a neural network (NN). Their novel architecture, reporte Read more…

By John Russell

Summit Now Offers Virtual Tours

August 10, 2020

Summit, the second most powerful publicly ranked supercomputer in the world, now has a virtual tour. The tour, implemented by 3D platform Matterport, allows use Read more…

By Oliver Peckham

HPE Keeps Cray Brand Promise, Reveals HPE Cray Supercomputing Line

August 4, 2020

The HPC community, ever-affectionate toward Cray and its eponymous founder, can breathe a (virtual) sigh of relief. The Cray brand will live on, encompassing th Read more…

By Tiffany Trader

Machines, Connections, Data, and Especially People: OAC Acting Director Amy Friedlander Charts Office’s Blueprint for Innovation

August 3, 2020

The path to innovation in cyberinfrastructure (CI) will require continued focus on building HPC systems and secure connections between them, in addition to the Read more…

By Ken Chiacchia, Pittsburgh Supercomputing Center/XSEDE

Nvidia Said to Be Close on Arm Deal

August 3, 2020

GPU leader Nvidia Corp. is in talks to buy U.K. chip designer Arm from parent company Softbank, according to several reports over the weekend. If consummated Read more…

By George Leopold

Intel’s 7nm Slip Raises Questions About Ponte Vecchio GPU, Aurora Supercomputer

July 30, 2020

During its second-quarter earnings call, Intel announced a one-year delay of its 7nm process technology, which it says it will create an approximate six-month shift for its CPU product timing relative to prior expectations. The primary issue is a defect mode in the 7nm process that resulted in yield degradation... Read more…

By Tiffany Trader

PEARC20 Plenary Introduces Five Upcoming NSF-Funded HPC Systems

July 30, 2020

Five new HPC systems—three National Science Foundation-funded “Capacity” systems and two “Innovative Prototype/Testbed” systems—will be coming onlin Read more…

By Ken Chiacchia, Pittsburgh Supercomputing Center/XSEDE

Nvidia Dominates Latest MLPerf Training Benchmark Results

July 29, 2020

MLPerf.org released its third round of training benchmark (v0.7) results today and Nvidia again dominated, claiming 16 new records. Meanwhile, Google provided e Read more…

By John Russell

$39 Billion Worldwide HPC Market Faces 3.7% COVID-related Drop in 2020

July 29, 2020

Global HPC market revenue reached $39 billion in 2019, growing a healthy 8.2 percent over 2018, according to the latest analysis from Intersect360 Research. A 3 Read more…

By Tiffany Trader

Supercomputer Modeling Tests How COVID-19 Spreads in Grocery Stores

April 8, 2020

In the COVID-19 era, many people are treating simple activities like getting gas or groceries with caution as they try to heed social distancing mandates and protect their own health. Still, significant uncertainty surrounds the relative risk of different activities, and conflicting information is prevalent. A team of Finnish researchers set out to address some of these uncertainties by... Read more…

By Oliver Peckham

Supercomputer-Powered Research Uncovers Signs of ‘Bradykinin Storm’ That May Explain COVID-19 Symptoms

July 28, 2020

Doctors and medical researchers have struggled to pinpoint – let alone explain – the deluge of symptoms induced by COVID-19 infections in patients, and what Read more…

By Oliver Peckham

Intel’s 7nm Slip Raises Questions About Ponte Vecchio GPU, Aurora Supercomputer

July 30, 2020

During its second-quarter earnings call, Intel announced a one-year delay of its 7nm process technology, which it says it will create an approximate six-month shift for its CPU product timing relative to prior expectations. The primary issue is a defect mode in the 7nm process that resulted in yield degradation... Read more…

By Tiffany Trader

Nvidia Said to Be Close on Arm Deal

August 3, 2020

GPU leader Nvidia Corp. is in talks to buy U.K. chip designer Arm from parent company Softbank, according to several reports over the weekend. If consummated Read more…

By George Leopold

Supercomputer Simulations Reveal the Fate of the Neanderthals

May 25, 2020

For hundreds of thousands of years, neanderthals roamed the planet, eventually (almost 50,000 years ago) giving way to homo sapiens, which quickly became the do Read more…

By Oliver Peckham

10nm, 7nm, 5nm…. Should the Chip Nanometer Metric Be Replaced?

June 1, 2020

The biggest cool factor in server chips is the nanometer. AMD beating Intel to a CPU built on a 7nm process node* – with 5nm and 3nm on the way – has been i Read more…

By Doug Black

Neocortex Will Be First-of-Its-Kind 800,000-Core AI Supercomputer

June 9, 2020

Pittsburgh Supercomputing Center (PSC - a joint research organization of Carnegie Mellon University and the University of Pittsburgh) has won a $5 million award Read more…

By Tiffany Trader

HPE Keeps Cray Brand Promise, Reveals HPE Cray Supercomputing Line

August 4, 2020

The HPC community, ever-affectionate toward Cray and its eponymous founder, can breathe a (virtual) sigh of relief. The Cray brand will live on, encompassing th Read more…

By Tiffany Trader

Leading Solution Providers

Contributors

Nvidia’s Ampere A100 GPU: Up to 2.5X the HPC, 20X the AI

May 14, 2020

Nvidia's first Ampere-based graphics card, the A100 GPU, packs a whopping 54 billion transistors on 826mm2 of silicon, making it the world's largest seven-nanom Read more…

By Tiffany Trader

Australian Researchers Break All-Time Internet Speed Record

May 26, 2020

If you’ve been stuck at home for the last few months, you’ve probably become more attuned to the quality (or lack thereof) of your internet connection. Even Read more…

By Oliver Peckham

15 Slides on Programming Aurora and Exascale Systems

May 7, 2020

Sometime in 2021, Aurora, the first planned U.S. exascale system, is scheduled to be fired up at Argonne National Laboratory. Cray (now HPE) and Intel are the k Read more…

By John Russell

‘Billion Molecules Against COVID-19’ Challenge to Launch with Massive Supercomputing Support

April 22, 2020

Around the world, supercomputing centers have spun up and opened their doors for COVID-19 research in what may be the most unified supercomputing effort in hist Read more…

By Oliver Peckham

Joliot-Curie Supercomputer Used to Build First Full, High-Fidelity Aircraft Engine Simulation

July 14, 2020

When industrial designers plan the design of a new element of a vehicle’s propulsion or exterior, they typically use fluid dynamics to optimize airflow and in Read more…

By Oliver Peckham

John Martinis Reportedly Leaves Google Quantum Effort

April 21, 2020

John Martinis, who led Google’s quantum computing effort since establishing its quantum hardware group in 2014, has left Google after being moved into an advi Read more…

By John Russell

$100B Plan Submitted for Massive Remake and Expansion of NSF

May 27, 2020

Legislation to reshape, expand - and rename - the National Science Foundation has been submitted in both the U.S. House and Senate. The proposal, which seems to Read more…

By John Russell

Google Cloud Debuts 16-GPU Ampere A100 Instances

July 7, 2020

On the heels of the Nvidia’s Ampere A100 GPU launch in May, Google Cloud is announcing alpha availability of the A100 “Accelerator Optimized” VM A2 instance family on Google Compute Engine. The instances are powered by the HGX A100 16-GPU platform, which combines two HGX A100 8-GPU baseboards using... Read more…

By Tiffany Trader

  • arrow
  • Click Here for More Headlines
  • arrow
Do NOT follow this link or you will be banned from the site!
Share This