Spack, a Lab-Developed ‘App Store for Supercomputers,’ Becoming Standard-Bearer

September 20, 2018

Sept. 20, 2018 — Spack, a Lawrence Livermore National Laboratory-developed open source package manager optimized for high performance computing (HPC), is making waves throughout the HPC community, including internationally, as evidenced by a recent tour of European HPC facilities by the tool’s developers.

In July, Lawrence Livermore National Laboratory computer scientists (from left) Todd Gamblin and Greg Becker met with HPC Application Expert Massimiliano Culpo at the École polytechnique fédérale de Lausanne (EPFL) in Lausanne, Switzerland. Culpo is an EPFL scientist and longtime Spack contributor who uses Spack to manage software on EPFL’s supercomputers.

Despite its niche status, Spack (short for Supercomputer PACKage manager), is one of the most popular pieces of software the Lab has ever released to the GitHub open source community. Described by its developers as “an app store for supercomputers,” Spack was started by LLNL computer scientist Todd Gamblin in 2013 and has quickly become the go-to package manager at LLNL and Argonne, Oak Ridge, Los Alamos and Sandia national laboratories, as well as Lawrence Berkeley’s National Energy Research Scientific Computing Center (NERSC). Not only is it being used on the Department of Energy’s (DOE) latest and greatest flagship systems, Oak Ridge’s Summit and LLNL’s Sierra, it’s also become the official deployment tool for the Exascale Computing Project, the “glue” for coordinating exascale software releases and deploying them to HPC facilities.

“It’s been pretty amazing,” Gamblin said of Spack’s rise to broad acceptance. “It wrecks my inbox — I get 200 emails a day about Spack from GitHub and the mailing list — but the momentum is great. We continue to drive development, and we review features and merge bug fixes, but the community helps tremendously with new ideas, new features and regular maintenance. I don’t think we could sustain a project of this scale without their help.”

Perhaps nothing has epitomized Spack’s growing reach more than the month of July, which began with Gamblin presenting Spack at the Platform for Advanced Scientific Computing (PASC) Conference in Basel, Switzerland, piquing interest from France’s Atomic Energy Institute (CEA) and other institutions. From there, Gamblin took a day trip to the Technical Institute of Munich (TUM), where he discussed potential collaborations with former LLNL computer scientist Martin Schulz, who is now TUM’s chair professor for Computer Architecture and Parallel Systems, as well as staff at the affiliated Leibniz Supercomputing Centre (LRZ). LRZ is deploying a 26-petaflop supercomputer called SuperMUC-NG and is planning to use Spack to set up the machine’s software.

Gamblin then drove to Lausanne, Switzerland, to visit École polytechnique fédérale de Lausanne (EPFL) on July 6, where he was joined by fellow LLNL computer scientist Greg Becker, who is part of the Spack team and has been instrumental to its development. While there, the pair met with longtime Spack contributor Massimiliano Culpo, who uses Spack to manage software on EPFL’s supercomputers. From Lausanne, they drove to Paris for a visit at CEA facilitated by LLNL computer scientist Edgar Leon, who is on a yearlong visiting assignment at the facility. CEA is interested in using Spack to modernize its developer workflow, Gamblin said, and the group discussed adding features to support the institute’s work and ways that CEA and LLNL could work together on future Spack features.

After enjoying a festive evening in Paris as the French celebrated their win over Belgium in the World Cup, Gamblin returned to the States, and Becker went on to London and the Atomic Weapons Establishment (AWE), which is exploring package deployment with Spack. Becker spent more than a week at AWE and met with British scientists involved in the Joint Working Group, a treaty-based high performance computing partnership between LLNL and the U.K.’s Science and Technology Facilities Council aimed at improving industry, promoting collaborations and boosting economic competitiveness.

Gamblin and Becker said the trip was useful in picturing what other HPC sites are attempting to do with Spack, figuring out what features to focus on next and starting a conversation about new collaborations. It also left them thinking they needed to expand community outreach. Since the meeting, Gamblin and collaborators from CEA and LRZ have had a birds-of-a-feather session accepted at the upcoming Supercomputing Conference 18 (SC18) in Dallas, where they will have a larger face-to-face community meeting. Gamblin and others will also hold a Spack tutorial at SC18.

“I think we got a lot of feedback that was some version of ‘Wow, this fills a use case that nothing else really does for me, and it would be great if it had these features, too,’” Becker said. “People definitely weren’t shy about letting us know what they hoped we were planning on doing or what they were planning on submitting, but they were very clear that they had looked at everything they could find out there and there wasn’t anything else that was going this direction.”

Spack has come a long way in the few short years since Gamblin first started coding it on weekends in coffee shops. He built the first version, a Python-based program that would automatically build libraries on the Lab’s Linux machines, to help his summer students by freeing them up to do their work. Subsequent Lab Hackathons attracted additional contributors and more packages, and after Gamblin presented a paper on Spack at Supercomputing Conference (SC15), interest began pouring in from other Department of Energy national laboratories, academia and companies with HPC resources.

“After SC15 my inbox exploded,” Gamblin said. “There were days where I would check my mail and think ‘how am I going to sustain this?’”

Through the open source repository GitHub, Spack has attracted hundreds of users who have added software packages (Spack now supports 2,800 of them), and HPC centers like NERSC, EPFL, Fermilab and the European Organization for Nuclear Research (CERN) have contributed significant features. Gamblin, Becker, and Peter Scheibel (GS) work to evaluate contributions from all of these organizations. The three also have appeared on HPC-related podcasts and conferences, including tutorials at SC16 and SC17, to spread the word about Spack’s usefulness and versatility.

“It’s like the app store for HPC, but the tricky bit of HPC is that we want 15 different configurations of the same app at once,” Becker said. “One of the key things for Spack is that the underlying model allows us to satisfy that need.”

The reasons for Spack’s popularity among the HPC community, Gamblin said, are twofold. Most system package managers require users to run with superuser privileges, which is fine for most developers because they own their machines. But HPC machines are shared, he explained, and Spack can install a lot of low-level software as a regular user in their home directory.

“For the HPC space it definitely fills a gap,” Gamblin said. “People needed something that could install custom packages in their own directory. The fact that you can run as a user is a big deal. There are other systems, like EasyBuild, that also have traction in this space, but they are very much targeted at system administrators rather than computational scientists. Spack gives you additional flexibility that both administrators and developers need.”

Another advantage, Gamblin said, is that other package managers that targeted developers are specific to a certain programming language, such as npm for Javascript, or Bundler for Ruby. HPC software crosses languages (C++, Python, Fortran etc.) so the relationships between packages are inherently more complex.

“Integrating so many packages into one application from so many different software ecosystems makes HPC particularly hard,” Gamblin said. “HPC software is more complicated today than 10 years ago. There are more dependencies, libraries and integration, so the need became more acute.”

Also working in Spack’s favor is that a lot of HPC labor involves porting software over to new machines, as LLNL is currently doing with Sierra. While most package managers are specific to one machine, Spack packages are templated, so if developers write a package for one machine, Becker said the likelihood is higher that it will work on another machine.

“If you get on a platform that no one’s ever tried to build this on before, Spack will at least make a best effort,” Becker said. “If that platform is really weird, it might not get very far, but in many cases, the best effort works.” This is the flexibility that Spack offers that other systems don’t.

Today, Spack is used by 40-50 people at LLNL, mostly developers in Livermore Computing (LC) and other parts of the Lab, as well as code teams who are using it as the interface to install scientific packages to run on Linux cluster machines, including Blue Gene/Q and Sierra. Spack has reduced the time needed to deploy complex codes on certain Lab supercomputers from weeks to days.

“We’re moving toward using Spack exclusively to deploy user-facing software in LC, but we’re moving from our current process, which uses Spack to generate RPM packages for the system package manager,” Becker said. “We have a fair number of people in the development environment group who use Spack to feed packages into that process. I think we’re collectively using it at every level in the hierarchy: single-user, application teams and system deployments.”

Gamblin and the Spack team, including its outside contributors, are working on new improvements and features with hopes of releasing version 1.0 in November, possibly at SC18. Gamblin said that in the coming year, they plan to add features that enable facilities to deploy extremely large suites of software easily, as well as features that simplify the workflow for individual developers working on multiple projects at once. The team is calling these features “Spack Stacks” and “Spack Environments,” respectively.

While optimized for supercomputers, Spack also can be used on home computers and laptops, where Gamblin and others see the potential for wider acceptance. Gamblin said he wants to include more machine learning libraries, to allow users to combine those workflows with HPC using the same tool. The Spack team also is looking to focus on greater reproducibility from one stack to another, polishing workflows and working on better support for binary software packages.

Additionally, Gamblin said he would like to expand community engagement and explore a steering committee that could govern future Spack-related decisions. Gamblin, Becker and others want Spack to eventually be part of the general deployment strategy for libraries across DOE. Spack has been adopted as the deployment tool for the U.S. Exascale Computing Project’s (ECP’s) software stack, and other DOE national labs are gradually joining in the fray.

“It’s nice to have industry standards where possible, and it would be great if we could fill that role in terms of getting everyone on the same page,” Becker said. “Spack is already good at the individual level of avoiding duplication of work and if we could keep on extending that so that large HPC sites are able to share work with each other, that would be great as well.”

“I’d like it if Spack were the way people use supercomputers and if it were part of everyone’s development environment. Good package management helps to grease the wheels,” Gamblin added. “The dream is to take the grunt work out of HPC: users get on a machine, assemble a stack of hundreds of libraries in minutes, then get back to focusing on the science.”

For more about open source software from LLNL, visit the web.


Source: LLNL

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!

CFD on ORNL’s Titan Simulates Cleaner, Low-MPG ‘Opposed Piston’ Engine

December 13, 2018

Pinnacle Engines is out to substantially improve vehicle gasoline efficiency and cut greenhouse gas emissions with a new motor based on an “opposed piston” design that the company hopes will be widely adopted while t Read more…

By Doug Black

Contract Signed for New Finnish Supercomputer

December 13, 2018

After the official contract signing yesterday, configuration details were made public for the new BullSequana system that the Finnish IT Center for Science (CSC) is procuring from Atos in two phases over the next year-an Read more…

By Tiffany Trader

Nvidia Leads Alpha MLPerf Benchmarking Round

December 12, 2018

Seven months after the launch of its AI benchmarking suite, the MLPerf consortium is releasing the first round of results based on submissions from Nvidia, Google and Intel. Of the seven benchmarks encompassed in version Read more…

By Tiffany Trader

HPE Extreme Performance Solutions

AI Can Be Scary. But Choosing the Wrong Partners Can Be Mortifying!

As you continue to dive deeper into AI, you will discover it is more than just deep learning. AI is an extremely complex set of machine learning, deep learning, reinforcement, and analytics algorithms with varying compute, storage, memory, and communications needs. Read more…

IBM Accelerated Insights

4 Ways AI Analytics Projects Fail — and How to Succeed

“How do I de-risk my AI-driven analytics projects?” This is a common question for organizations ready to modernize their analytics portfolio. Here are four ways AI analytics projects fail—and how you can ensure success. Read more…

Neural Network ‘Synapse’ Technology Showcased at IEEE Meeting

December 12, 2018

There’s nice snapshot of advancing work to develop improved neural network “synapse” technologies posted yesterday on IEEE Spectrum. Lower power, ease of use, manufacturability, and performance are all key paramete Read more…

By John Russell

Contract Signed for New Finnish Supercomputer

December 13, 2018

After the official contract signing yesterday, configuration details were made public for the new BullSequana system that the Finnish IT Center for Science (CSC Read more…

By Tiffany Trader

Nvidia Leads Alpha MLPerf Benchmarking Round

December 12, 2018

Seven months after the launch of its AI benchmarking suite, the MLPerf consortium is releasing the first round of results based on submissions from Nvidia, Goog Read more…

By Tiffany Trader

IBM, Nvidia in AI Data Pipeline, Processing, Storage Union

December 11, 2018

IBM and Nvidia today announced a new turnkey AI solution that combines IBM Spectrum Scale scale-out file storage with Nvidia’s GPU-based DGX-1 AI server to pr Read more…

By Doug Black

Mellanox Uses Univa to Extend Silicon Design HPC Operation to Azure

December 11, 2018

Call it a corollary to Murphy’s Law: When a system is most in demand, when end users are most dependent on the system performing as required, when it’s crunch time – that’s when the system is most likely to blow up. Or make you wait in line to use it. Read more…

By Doug Black

Topology Can Help Us Find Patterns in Weather

December 6, 2018

Topology--the study of shapes--seems to be all the rage. You could even say that data has shape, and shape matters. Shapes are comfortable and familiar concepts, so it is intriguing to see that many applications are being recast to use topology. For instance, looking for weather and climate patterns. Read more…

By James Reinders

Zettascale by 2035? China Thinks So

December 6, 2018

Exascale machines (of at least a 1 exaflops peak) are anticipated to arrive by around 2020, a few years behind original predictions; and given extreme-scale performance challenges are not getting any easier, it makes sense that researchers are already looking ahead to the next big 1,000x performance goal post: zettascale computing. Read more…

By Tiffany Trader

Robust Quantum Computers Still a Decade Away, Says Nat’l Academies Report

December 5, 2018

The National Academies of Science, Engineering, and Medicine yesterday released a report – Quantum Computing: Progress and Prospects – whose optimism about Read more…

By John Russell

Revisiting the 2008 Exascale Computing Study at SC18

November 29, 2018

A report published a decade ago conveyed the results of a study aimed at determining if it were possible to achieve 1000X the computational power of the the Read more…

By Scott Gibson

Quantum Computing Will Never Work

November 27, 2018

Amid the gush of money and enthusiastic predictions being thrown at quantum computing comes a proposed cold shower in the form of an essay by physicist Mikhail Read more…

By John Russell

Cray Unveils Shasta, Lands NERSC-9 Contract

October 30, 2018

Cray revealed today the details of its next-gen supercomputing architecture, Shasta, selected to be the next flagship system at NERSC. We've known of the code-name "Shasta" since the Argonne slice of the CORAL project was announced in 2015 and although the details of that plan have changed considerably, Cray didn't slow down its timeline for Shasta. Read more…

By Tiffany Trader

IBM at Hot Chips: What’s Next for Power

August 23, 2018

With processor, memory and networking technologies all racing to fill in for an ailing Moore’s law, the era of the heterogeneous datacenter is well underway, Read more…

By Tiffany Trader

House Passes $1.275B National Quantum Initiative

September 17, 2018

Last Thursday the U.S. House of Representatives passed the National Quantum Initiative Act (NQIA) intended to accelerate quantum computing research and developm Read more…

By John Russell

Summit Supercomputer is Already Making its Mark on Science

September 20, 2018

Summit, now the fastest supercomputer in the world, is quickly making its mark in science – five of the six finalists just announced for the prestigious 2018 Read more…

By John Russell

AMD Sets Up for Epyc Epoch

November 16, 2018

It’s been a good two weeks, AMD’s Gary Silcott and Andy Parma told me on the last day of SC18 in Dallas at the restaurant where we met to discuss their show news and recent successes. Heck, it’s been a good year. Read more…

By Tiffany Trader

US Leads Supercomputing with #1, #2 Systems & Petascale Arm

November 12, 2018

The 31st Supercomputing Conference (SC) - commemorating 30 years since the first Supercomputing in 1988 - kicked off in Dallas yesterday, taking over the Kay Ba Read more…

By Tiffany Trader

TACC’s ‘Frontera’ Supercomputer Expands Horizon for Extreme-Scale Science

August 29, 2018

The National Science Foundation and the Texas Advanced Computing Center announced today that a new system, called Frontera, will overtake Stampede 2 as the fast Read more…

By Tiffany Trader

Leading Solution Providers

SC 18 Virtual Booth Video Tour

Advania @ SC18 AMD @ SC18
ASRock Rack @ SC18
DDN Storage @ SC18
HPE @ SC18
IBM @ SC18
Lenovo @ SC18 Mellanox Technologies @ SC18
NVIDIA @ SC18
One Stop Systems @ SC18
Oracle @ SC18 Panasas @ SC18
Supermicro @ SC18 SUSE @ SC18 TYAN @ SC18
Verne Global @ SC18

HPE No. 1, IBM Surges, in ‘Bucking Bronco’ High Performance Server Market

September 27, 2018

Riding healthy U.S. and global economies, strong demand for AI-capable hardware and other tailwind trends, the high performance computing server market jumped 28 percent in the second quarter 2018 to $3.7 billion, up from $2.9 billion for the same period last year, according to industry analyst firm Hyperion Research. Read more…

By Doug Black

Nvidia’s Jensen Huang Delivers Vision for the New HPC

November 14, 2018

For nearly two hours on Monday at SC18, Jensen Huang, CEO of Nvidia, presented his expansive view of the future of HPC (and computing in general) as only he can do. Animated. Backstopped by a stream of data charts, product photos, and even a beautiful image of supernovae... Read more…

By John Russell

CERN Project Sees Orders-of-Magnitude Speedup with AI Approach

August 14, 2018

An award-winning effort at CERN has demonstrated potential to significantly change how the physics based modeling and simulation communities view machine learni Read more…

By Rob Farber

Germany Celebrates Launch of Two Fastest Supercomputers

September 26, 2018

The new high-performance computer SuperMUC-NG at the Leibniz Supercomputing Center (LRZ) in Garching is the fastest computer in Germany and one of the fastest i Read more…

By Tiffany Trader

Houston to Field Massive, ‘Geophysically Configured’ Cloud Supercomputer

October 11, 2018

Based on some news stories out today, one might get the impression that the next system to crack number one on the Top500 would be an industrial oil and gas mon Read more…

By Tiffany Trader

Intel Confirms 48-Core Cascade Lake-AP for 2019

November 4, 2018

As part of the run-up to SC18, taking place in Dallas next week (Nov. 11-16), Intel is doling out info on its next-gen Cascade Lake family of Xeon processors, specifically the “Advanced Processor” version (Cascade Lake-AP), architected for high-performance computing, artificial intelligence and infrastructure-as-a-service workloads. Read more…

By Tiffany Trader

Google Releases Machine Learning “What-If” Analysis Tool

September 12, 2018

Training machine learning models has long been time-consuming process. Yesterday, Google released a “What-If Tool” for probing how data point changes affect a model’s prediction. The new tool is being launched as a new feature of the open source TensorBoard web application... Read more…

By John Russell

The Convergence of Big Data and Extreme-Scale HPC

August 31, 2018

As we are heading towards extreme-scale HPC coupled with data intensive analytics like machine learning, the necessary integration of big data and HPC is a curr Read more…

By Rob Farber

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