Rethinking GPU Hackathons for a Pandemic and Beyond

January 13, 2021

Jan. 13, 2021 — When University of Michigan (UM) professor of aerospace engineering Venkat Raman and his team of graduate students were awarded a grant of compute time on the nation’s most powerful and smartest scientific supercomputer, the IBM AC922 Summit at the Oak Ridge Leadership Computing Facility (OLCF), they thought they had it made. Surely, Summit’s computational horsepower would vault their study of rotating detonation engines and their fluid dynamics simulation code into the stratosphere.

At first, however, the exact opposite happened when they didn’t take advantage of Summit’s biggest tool for accelerating codes: its 27,648 NVIDIA Volta GPUs. The team had no experience in optimizing code for GPU processors, so they didn’t put much effort into it. Consequently, their code actually ran slower than it had on traditional CPU computers.

“We did not think of GPUs as anything important: ‘We know how to write codes on CPUs and now people are telling us we need to use GPUs?’ So, the first day my students ran the code, we turned off all the GPUs because we thought it was a nuisance. We just ran it on the CPUs—and it was 10 times slower,” Raman said.

This caught the attention of the OLCF’s then–director of science, Jack Wells, who sent the team an email that essentially said, “Are you sure you guys are doing the right thing? You’re not using the GPUs.” The team, who had been awarded 130,000 node-hours on Summit through the US Department of Energy’s (DOE’s) Office of Advanced Scientific Computing Research’s Leadership Computing Challenge (ALCC) program, couldn’t afford for their codes to run slower.

The OLCF made the team aware of its series of hands-on seminars intended to help users optimize codes for GPUs: the OLCF GPU hackathons. The hackathons have evolved from a single, ambitious endeavor in 2014 to a series hosted at institutions across the country—and even around the world—to bolster programmers’ applications for scientific study on some of the largest GPU supercomputers. The OLCF and NVIDIA co-organize the trainings along with the local host institutions, and the OLCF also works with the Exascale Computing Project to codeliver a handful of OpenMP-specific GPU hackathons as well. Teams receive help from expert mentors at the 5-day events, aiming to leave with a piece of GPU code in hand.

“My students went to a hackathon in Oak Ridge and they sent me a message from there saying, ‘We had no idea what this machine can do—we have to rethink everything.’ So that’s what we did,” Raman said.

Raman’s trio of PhD candidates responsible for coding—Shivam Barwey, Ral Bielawski, and Supraj Prakash—had tried using the OpenACC programming model to offload a few elements of their simulation software (UM detonation FOAM, or UMdetFOAM, originally based on the code OpenFOAM, for “Open-source Field Operation and Manipulation”) to GPUs. But the results weren’t much better than their first foray. At the hackathon, where team members could talk to IBM and NVIDIA programmers directly, they found out why.

“While the OpenACC framework initially seemed very easy to use, we needed a lot more control over what data is transmitted, how that data is transmitted, and how we rewrite our algorithms in order to best use that framework,” Barwey said. “We need to rethink the way the algorithm is structured so we saturate the GPU to perform a large operation at a single time rather than constantly going back and forth between the CPU and GPU.”

Upon returning from the hackathon, the students began completely rewriting and modifying their solver—which involved replacing OpenFOAM and other external libraries with custom GPU libraries—to take full advantage of Summit’s GPUs. Now, more than 95 percent of the code runs on GPUs. Furthermore, the team recognized the opportunity to leverage the advantages GPUs have for artificial intelligence algorithms and consequently trained neural networks to speed up the modeling program even further—a first in the field. All of these improvements led to GPU performance reaching near-theoretical limits, restricted only by the communication bandwidth for transferring data between the CPU and GPU.

“This allows us to get—in some extreme cases—about 1,000-times-faster simulations compared to if we had just done conventional calculations,” Raman said. “More than even speedup, we can also answer different questions. It’s not an incremental change.”

As the team completed its ALCC project last summer with groundbreaking results—while also advancing the state of the art for computational fluid dynamics tools—the OLCF was reimagining the hackathon itself. Faced with a global pandemic, staff members were forced early on to decide whether collaborative programming seminars could transition successfully to the virtual domain. Could teams like Raman’s get as much out of long-distance interactions with mentors as they did in person? Could the OLCF risk a virtual format for the hackathons or should it forgo them altogether?

“There was a substantial discussion about whether this would be feasible and still provide value to the participants, and the organizers quickly decided that yes, it would be doable,” said Ashley Barker, section head of operations in the National Center for Computational Sciences (NCCS), which hosts the OLCF at the DOE’s Oak Ridge National Laboratory (ORNL).

In 2020, the OLCF—a DOE Office of Science User Facility—cohosted five of the virtual hackathons with NVIDIA, with a total of 296 people from 62 different institutions participating in the events. The success of the hackathons in the new format marks a milestone in the OLCF’s history and demonstrates the perseverance and tenacity of the high-performance computing (HPC) community to find creative solutions to problems—something required for code porting and development even under ideal circumstances. It also paves the way for opportunities to expand upon the hackathon’s original format and help users find new ways of collaborating at a time when it is needed most.

A new hackathon for new times

Attendees of the OLCF’s virtual hackathon in October. The OLCF cohosted five virtual hackathons with NVIDIA in 2020, with a total of 296 people from 62 different institutions participating. Image Credit: Jason Smith, ORNL.

The first-ever virtual NVIDIA GPU hackathon was hosted by the San Diego Supercomputer Center in May. Unlike typical hackathons, during which teams attend a 5-day-long consecutive event, the attending teams had one initial day of code profiling to determine which pieces of their codes were eating up their computational time. After that, they had a week’s break to implement changes and revise or adapt their strategies for porting to the GPUs in Ascent, an OLCF test bed system with an architecture similar to that of the OLCF’s Summit supercomputer. In the second week, participants had 3 full days to develop and port their codes during the virtual hackathon event.

The new format boasted many benefits right off the bat. The hackathon organizers found it easier to identify mentors due to the ability to participate virtually. Along with the greater availability of mentors, the organizers identified holding that separate introductory session was a best practice for future virtual hackathons because it better prepared participants for the 3-day event.

The success of the first event marked the new format for the remainder of the 2020 hackathon series. The virtual format wasn’t without its challenges, of course. Time zone differences and virtual meeting fatigue were some of the biggest inconveniences. However, most participants observed efficiency gains and were able to find the same value they received at the in-person events.

“People don’t have to travel, and I think they’re still able to do what they were doing before and get it done in a similar amount of time,” said Tom Papatheodore, HPC engineer in the Operations Section at NCCS.

First-timers reap big benefits

One team that saw success this year was the MOVE–computational fluid dynamics (CFD), or MOVE-CFD, team from Rensselaer Polytechnic Institute. The team works with the parallel, hierarchic, adaptive, stabilized transient analysis (PHASTA) code, which can be used for variety practical cases of interest that can involve complicated geometries—such as detailed aerospace configurations or human arterial system—as well as complex physics, such as fluid turbulence or multiphase interactions. PHASTA allows researchers to achieve high accuracy for modeling turbulent flows in these systems. The team took a mini-version of PHASTA to the OLCF-hosted GPU hackathon on October 19 and October 26–28 and, with help from NVIDIA mentors at the hackathon, ported the mini-application to the OLCF’s Ascent test bed system and achieved a 10-fold speedup.

Another team, led by aerospace researcher Ioannis Nompelis at the University of Minnesota (UMN), brought a mini-application that was purposely built to mimic the US3D CFD solver, which is used for simulating hypersonic flows around geometrically complex shapes. The team, AeroUMN, observed a 40-fold speedup of the mini-application—which is named MY3D—from a single compute unit (CPU core) when using the entire CPU resource of an Ascent-type node. And when the team employed one of the six GPU accelerators found on the compute node, MY3D performed 50 percent better than the original CPU-only version.

For the future, not virtual but virtual-inspired

Papatheodore said the organizers intend for the 2021 GPU hackathons to continue in the virtual format.

“I think we have proven this year that we can run these events virtually and see similar results to the in-person events,” Papatheodore said.

Papatheodore emphasized that the hackathons likely won’t remain virtual forever. But the organizers plan to keep some form of the hackathons virtual even after a return to in-person events. This will allow participants to reap the benefits of the new format, such as increased availability of mentors.

“In the future, we’ll likely incorporate some of the most successful aspects of the virtual hackathons into our in-person events as well, so we have forever changed the format of these hackathons,” Papatheodore said.

UT-Battelle LLC manages Oak Ridge National Laboratory for DOE’s Office of Science, the single largest supporter of basic research in the physical sciences in the United States. DOE’s Office of Science is working to address some of the most pressing challenges of our time. For more information, visit https://energy.gov/science.

Click here for the full post.


Source: Coury Turczyn and Rachel McDowell, OLCF

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!

White House Scientific Integrity Report Addresses AI and ML Ethics

January 26, 2022

Earlier this month, the White House Office of Science and Technology Policy (OSTP) Scientific Integrity Task Force released a report titled “Protecting the Integrity of Government Science.” While broad-based and over Read more…

IBM Quantum Debuts Classical Entanglement Forging to Expand Simulation Capabilities

January 26, 2022

IBM last week reported a new technique – entanglement forging – that uses both quantum and classical computing resources to double the size of select simulation problems that can be solved on current quantum computer Read more…

Lenovo Launches Its TruScale HPC as a Service Offering

January 26, 2022

Lenovo today announced TruScale High Performance Computing as a Service (HPCaaS), which it says will offer a “cloud-like experience” to HPC organizations of all sizes. The new HPC-as-a-Service is part of the TruScale Read more…

Ceremorphic Touts Its HPC/AI Silicon Technology as It Exits Stealth

January 25, 2022

In a market still filling with fledging silicon chips, Ceremorphic, Inc. has exited stealth and is telling the world about what it calls its patented new ThreadArch multi-thread processor technology that is intended to h Read more…

Quantum Watch: Neutral Atoms Draw Growing Attention as Promising Qubit Technology

January 25, 2022

Currently, there are many qubit technologies vying for sway in quantum computing. So far, superconducting (IBM, Google) and trapped ion (IonQ, Quantinuum) have dominated the conversation. Microsoft’s proposed topologic Read more…

AWS Solution Channel

Register for the AWS “Speeds n’ Feeds” event on Feb. 9th

Since the debut of the first ‘Beowulf’ cluster in 1994, HPC has been a race between technologists squeezing as much performance as possible from hardware, and scale economics driving mass-production prices to affordable levels. Read more…

Meta’s Massive New AI Supercomputer Will Be ‘World’s Fastest’

January 24, 2022

Fresh off its rebrand last October, Meta (née Facebook) is putting muscle behind its vision of a metaversal future with a massive new AI supercomputer called the AI Research SuperCluster (RSC). Meta says that RSC will b Read more…

Lenovo Launches Its TruScale HPC as a Service Offering

January 26, 2022

Lenovo today announced TruScale High Performance Computing as a Service (HPCaaS), which it says will offer a “cloud-like experience” to HPC organizations of Read more…

Ceremorphic Touts Its HPC/AI Silicon Technology as It Exits Stealth

January 25, 2022

In a market still filling with fledging silicon chips, Ceremorphic, Inc. has exited stealth and is telling the world about what it calls its patented new Thread Read more…

Quantum Watch: Neutral Atoms Draw Growing Attention as Promising Qubit Technology

January 25, 2022

Currently, there are many qubit technologies vying for sway in quantum computing. So far, superconducting (IBM, Google) and trapped ion (IonQ, Quantinuum) have Read more…

Meta’s Massive New AI Supercomputer Will Be ‘World’s Fastest’

January 24, 2022

Fresh off its rebrand last October, Meta (née Facebook) is putting muscle behind its vision of a metaversal future with a massive new AI supercomputer called t Read more…

IBM Watson Health Finally Sold by IBM After 11 Months of Rumors

January 21, 2022

IBM has sold its underachieving IBM Watson Health unit for an undisclosed price tag to a global investment firm after almost a year’s worth of rumors that sai Read more…

Supercomputer Analysis Shows the Atmospheric Reach of the Tonga Eruption

January 21, 2022

On Saturday, an enormous eruption on the volcanic islands of Hunga Tonga and Hunga Haʻapai shook the Pacific Ocean. The explosion, which could be heard six tho Read more…

NSB Issues US State of Science and Engineering 2022 Report

January 20, 2022

This week the National Science Board released its biannual U.S. State of Science and Engineering 2022 report, as required by the NSF Act. Broadly, the report presents a near-term view of S&E based mostly on 2019 data. To a large extent, this year’s edition echoes trends from the last few reports. The U.S. is still a world leader in R&D spending and S&E education... Read more…

Multiverse Targets ‘Quantum Computing for the Masses’

January 19, 2022

The race to deliver quantum computing solutions that shield users from the underlying complexity of quantum computing is heating up quickly. One example is Multiverse Computing, a European company, which today launched the second financial services product in its Singularity product group. The new offering, Fair Price, “delivers a higher accuracy in fair price calculations for financial... Read more…

IonQ Is First Quantum Startup to Go Public; Will It be First to Deliver Profits?

November 3, 2021

On October 1 of this year, IonQ became the first pure-play quantum computing start-up to go public. At this writing, the stock (NYSE: IONQ) was around $15 and its market capitalization was roughly $2.89 billion. Co-founder and chief scientist Chris Monroe says it was fun to have a few of the company’s roughly 100 employees travel to New York to ring the opening bell of the New York Stock... Read more…

US Closes in on Exascale: Frontier Installation Is Underway

September 29, 2021

At the Advanced Scientific Computing Advisory Committee (ASCAC) meeting, held by Zoom this week (Sept. 29-30), it was revealed that the Frontier supercomputer is currently being installed at Oak Ridge National Laboratory in Oak Ridge, Tenn. The staff at the Oak Ridge Leadership... Read more…

AMD Launches Milan-X CPU with 3D V-Cache and Multichip Instinct MI200 GPU

November 8, 2021

At a virtual event this morning, AMD CEO Lisa Su unveiled the company’s latest and much-anticipated server products: the new Milan-X CPU, which leverages AMD’s new 3D V-Cache technology; and its new Instinct MI200 GPU, which provides up to 220 compute units across two Infinity Fabric-connected dies, delivering an astounding 47.9 peak double-precision teraflops. “We're in a high-performance computing megacycle, driven by the growing need to deploy additional compute performance... Read more…

Intel Reorgs HPC Group, Creates Two ‘Super Compute’ Groups

October 15, 2021

Following on changes made in June that moved Intel’s HPC unit out of the Data Platform Group and into the newly created Accelerated Computing Systems and Graphics (AXG) business unit, led by Raja Koduri, Intel is making further updates to the HPC group and announcing... Read more…

Nvidia Buys HPC Cluster Management Company Bright Computing

January 10, 2022

Graphics chip powerhouse Nvidia today announced that it has acquired HPC cluster management company Bright Computing for an undisclosed sum. Unlike Nvidia’s bid to purchase semiconductor IP company Arm, which has been stymied by regulatory challenges, the Bright deal is a straightforward acquisition that aims to expand... Read more…

D-Wave Embraces Gate-Based Quantum Computing; Charts Path Forward

October 21, 2021

Earlier this month D-Wave Systems, the quantum computing pioneer that has long championed quantum annealing-based quantum computing (and sometimes taken heat fo Read more…

Killer Instinct: AMD’s Multi-Chip MI200 GPU Readies for a Major Global Debut

October 21, 2021

AMD’s next-generation supercomputer GPU is on its way – and by all appearances, it’s about to make a name for itself. The AMD Radeon Instinct MI200 GPU (a successor to the MI100) will, over the next year, begin to power three massive systems on three continents: the United States’ exascale Frontier system; the European Union’s pre-exascale LUMI system; and Australia’s petascale Setonix system. Read more…

Three Chinese Exascale Systems Detailed at SC21: Two Operational and One Delayed

November 24, 2021

Details about two previously rumored Chinese exascale systems came to light during last week’s SC21 proceedings. Asked about these systems during the Top500 media briefing on Monday, Nov. 15, list author and co-founder Jack Dongarra indicated he was aware of some very impressive results, but withheld comment when asked directly if he had... Read more…

Leading Solution Providers

Contributors

Lessons from LLVM: An SC21 Fireside Chat with Chris Lattner

December 27, 2021

Today, the LLVM compiler infrastructure world is essentially inescapable in HPC. But back in the 2000 timeframe, LLVM (low level virtual machine) was just getting its start as a new way of thinking about how to overcome shortcomings in the Java Virtual Machine. At the time, Chris Lattner was a graduate student of... Read more…

2021 Gordon Bell Prize Goes to Exascale-Powered Quantum Supremacy Challenge

November 18, 2021

Today at the hybrid virtual/in-person SC21 conference, the organizers announced the winners of the 2021 ACM Gordon Bell Prize: a team of Chinese researchers leveraging the new exascale Sunway system to simulate quantum circuits. The Gordon Bell Prize, which comes with an award of $10,000 courtesy of HPC pioneer Gordon Bell, is awarded annually... Read more…

Meta’s Massive New AI Supercomputer Will Be ‘World’s Fastest’

January 24, 2022

Fresh off its rebrand last October, Meta (née Facebook) is putting muscle behind its vision of a metaversal future with a massive new AI supercomputer called t Read more…

Nvidia Defends Arm Acquisition Deal: a ‘Once-in-a-Generation Opportunity’

January 13, 2022

GPU-maker Nvidia is continuing to try to keep its proposed acquisition of British chip IP vendor Arm Ltd. alive, despite continuing concerns from several governments around the world. In its latest action, Nvidia filed a 29-page response to the U.K. government to point out a list of potential benefits of the proposed $40 billion deal. Read more…

Julia Update: Adoption Keeps Climbing; Is It a Python Challenger?

January 13, 2021

The rapid adoption of Julia, the open source, high level programing language with roots at MIT, shows no sign of slowing according to data from Julialang.org. I Read more…

Top500: No Exascale, Fugaku Still Reigns, Polaris Debuts at #12

November 15, 2021

No exascale for you* -- at least, not within the High-Performance Linpack (HPL) territory of the latest Top500 list, issued today from the 33rd annual Supercomputing Conference (SC21), held in-person in St. Louis, Mo., and virtually, from Nov. 14–19. "We were hoping to have the first exascale system on this list but that didn’t happen," said Top500 co-author... Read more…

TACC Unveils Lonestar6 Supercomputer

November 1, 2021

The Texas Advanced Computing Center (TACC) is unveiling its latest supercomputer: Lonestar6, a three peak petaflops Dell system aimed at supporting researchers Read more…

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…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire