Optimizing Key Plasma Physics Code for Latest-Gen Nvidia GPUs Yields Threefold Increase in Processing Speed

By Thomas W. Overton

December 5, 2018

Experts at General Atomics (GA) have achieved a major improvement in processing speed for an important plasma physics code by working with experts from Nvidia to optimize it for operation on the latest GPU-based supercomputers.

This three-fold increase in processing time for the latest CGYRO code, used to simulate turbulent behavior of confined plasmas, was made possible by acquiring hardware similar to that used in the Summit supercomputer now being developed at Oak Ridge National Laboratory. Working on the system allowed GA researchers to test and validate their approach before deployment – an approach that could prove valuable for researchers in a variety of fields preparing for work on the next wave of supercomputing.

Early (left) and late (right) times in a simulation of multiscale plasma turbulence. At early times, short-wavelength electron-scale turbulence dominates, but is soon overtaken by long-wavelength ion-scale turbulence. Simultaneously capturing both scales is critical to the simulation realism but requires massive computational resources. (Source: General Atomics)

Physicists tend to be heavy users of Department of Energy (DOE) supercomputer resources. Those working on nuclear fusion rely heavily on modeling to predict plasma conditions inside a fusion reactor. An approach known as gyrokinetics has been used for nearly two decades to investigate turbulence in fusion plasmas because of its ability to model behavior of the ions and electrons in the plasma.

However, the extreme complexity of plasmas – which are heated to temperatures many times that of the sun to cause hydrogen isotopes to fuse into heavier elements – means that even limited simulations require enormous processing power. This is why all current models can simulate only portions of the plasma over limited timescales. As a result, physics researchers are constantly looking for ways to make their simulations more efficient.

Over a decade ago, scientists at GA – which operates the DIII-D National Fusion Facility for DOE at GA’s campus in San Diego – developed GYRO (a predecessor to CGYRO) to model the turbulent motion of confined plasma.

“In a toroidal containment device, the plasma fuel is confined by magnetic fields but suffers a very slow leakage due to turbulent behavior,” said Jeff Candy, manager of the Turbulence and Transport Group in GA’s Magnetic Fusion Energy Division. “GYRO has proved to be very accurate at simulating this complex nonlinear process in the core region of DIII-D and other tokamaks in the U.S. and Europe, but modeling the outside edge of the plasma is more challenging.”

Physicist Jeff Candy (front) and software developer Igor Sfiligoi (rear) of General Atomics worked together with their colleagues to optimize the CGYRO plasma physics code for Oak Ridge National Laboratory’s Summit supercomputer using a pair of nodes that mimicked Summi’s exotic processing environment. (Photo: Tom Overton/General Atomics)

The need to accurately model this more complex regime motivated the development of CGYRO. It was built from the ground up by combining the best algorithms from GYRO with new numerical schemes as well as a cutting-edge approach to parallelization that targeted the upcoming generation of multicore and GPU-based architectures.

“CGYRO was intended for operation on petascale systems,” said Igor Sfiligoi, a high-performance computer software developer at GA. “We’ve run it successfully on Titan for several years. But the original version of CGYRO was optimized for older GPUs, which means we weren’t using all the features of more modern GPUs.”

One goal in particular was optimizing CGYRO for use on Summit, Titan’s successor at ORNL. At the University of Colorado in Boulder GPU Hackathon in July, GA researchers worked with specialists from Nvidia to optimize CGYRO for the latest generation of GPU systems using the OpenACC programming model.

“A GPU-aware message passing interface is now used to move data directly between GPUs, without the need for staging first to the system memory,” Sfiligoi said. “Most of the remaining physics code execution has also been moved to the GPU, where it can now be efficiently executed without the excessive memory movement penalty.”

Since 2014, the Oak Ridge Leadership Computing Facility and its partners have held GPU hackathons to teach new GPU programmers how to leverage accelerated computing and help existing GPU programmers further optimize their codes. In 2018, there were seven such events at locations around the world, one of which was held at the UC Boulder. The GA team worked with Brent Leback and Craig Tierney from Nvidia at the hackathon.

In order to validate and benchmark the resulting code at the Hackathon, GA researchers needed access to Summit-like hardware. However, they did not have access to Summit nodes, and will not get it until 2019 at the earliest. In early 2018, to get around this problem, GA purchased two nodes that would mimic Summit’s fairly exotic processing environment.

The nodes comprise two IBM AC922 servers, each with two 16-core 4-hyperthread IBM Power9 CPUs and four Nvidia Tesla V100 with NVLink Volta GPUs, with 512GB of CPU RAM and 4x16GB of GPU RAM. GA was the first commercial user to acquire a setup like this.

Each Summit node uses six Nvidia Volta GPUs per two Power9 CPUs, tied together with Nvidia’s NVLink 2.0 technology (Image credit: Jason Richards/ORNL)

The result of the optimization efforts is a three-fold increase in processing speed on those nodes. The new version of CGYRO can thus be assumed to be optimized for use on Summit, where it will be able to run three times as many simulations in the same amount of time. Given how expensive and competitive supercomputer time is, a three-fold increase in the amount of work that can be done is an important achievement for GA’s plasma physicists.

“This improved computational efficiency on next-generation supercomputers will allow CGYRO to precisely compute plasma turbulence levels in the most challenging regions of the device operating space,” Candy said. “That opens up a new range of research that can help get us to commercial fusion power plants.”

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!

Intel Debuts Pohoiki Beach, Its 8M Neuron Neuromorphic Development System

July 17, 2019

Neuromorphic computing has received less fanfare of late than quantum computing whose mystery has captured public attention and which seems to have generated more efforts (academic, government, and commercial) but whose Read more…

By John Russell

Goonhilly Unveils New Immersion-Cooled Platform, Doubles Down on Sustainability Mission

July 16, 2019

Goonhilly Earth Station has opened its new datacenter – an enhancement to its existing tier 3 facility – in Cornwall, England, touting an ambitious commitment to holistic sustainability as well as launching a managed Read more…

By Oliver Peckham

New CMU AI Poker Bot – Pluribus – Humbles the Pros Again

July 15, 2019

Remember Libratus, the Carnegie Mellon University developed AI poker bot that’s been humbling poker professionals at Texas hold’em for a couple of years. Well, say hello to Pluribus, an upgraded bot, which has now be Read more…

By John Russell

HPE Extreme Performance Solutions

Bring the Combined Power of HPC and AI to Your Business Transformation

A growing number of commercial businesses are implementing HPC solutions to derive actionable business insights, to run higher performance applications and to gain a competitive advantage. Read more…

IBM Accelerated Insights

Smarter Technology Revs Up Red Bull Racing

In 21st century business, companies that effectively leverage their information resources – thrive. As it turns out, the same is true in Formula One racing. Read more…

ISC19 Cluster Competition: Application Results, Finally!

July 15, 2019

Our exhaustive coverage of the ISC19 Student Cluster Competition continues as we discuss the application scores below. While the scores were typically high, some of the apps, like SWIFT and OpenFOAM, really pushed the st Read more…

By Dan Olds

Intel Debuts Pohoiki Beach, Its 8M Neuron Neuromorphic Development System

July 17, 2019

Neuromorphic computing has received less fanfare of late than quantum computing whose mystery has captured public attention and which seems to have generated mo Read more…

By John Russell

Goonhilly Unveils New Immersion-Cooled Platform, Doubles Down on Sustainability Mission

July 16, 2019

Goonhilly Earth Station has opened its new datacenter – an enhancement to its existing tier 3 facility – in Cornwall, England, touting an ambitious commitme Read more…

By Oliver Peckham

New CMU AI Poker Bot – Pluribus – Humbles the Pros Again

July 15, 2019

Remember Libratus, the Carnegie Mellon University developed AI poker bot that’s been humbling poker professionals at Texas hold’em for a couple of years. We Read more…

By John Russell

ISC19 Cluster Competition: Application Results, Finally!

July 15, 2019

Our exhaustive coverage of the ISC19 Student Cluster Competition continues as we discuss the application scores below. While the scores were typically high, som Read more…

By Dan Olds

Nvidia Expands DGX-Ready AI Program to 19 Countries

July 11, 2019

Nvidia’s DGX-Ready Data Center Program, announced in January and designed to provide colo and public cloud-like options to access the company’s GPU-powered Read more…

By Doug Black

Argonne Team Makes Record Globus File Transfer

July 10, 2019

A team of scientists at Argonne National Laboratory has broken a data transfer record by moving a staggering 2.9 petabytes of data for a research project.  The data – from three large cosmological simulations – was generated and stored on the Summit supercomputer at the Oak Ridge Leadership Computing Facility (OLCF)... Read more…

By Oliver Peckham

Nvidia, Google Tie in Second MLPerf Training ‘At-Scale’ Round

July 10, 2019

Results for the second round of the AI benchmarking suite known as MLPerf were published today with Google Cloud and Nvidia each picking up three wins in the at Read more…

By Tiffany Trader

Applied Materials Embedding New Memory Technologies in Chips

July 9, 2019

Applied Materials, the $17 billion Santa Clara-based materials engineering company for the semiconductor industry, today announced manufacturing systems enablin Read more…

By Doug Black

High Performance (Potato) Chips

May 5, 2006

In this article, we focus on how Procter & Gamble is using high performance computing to create some common, everyday supermarket products. Tom Lange, a 27-year veteran of the company, tells us how P&G models products, processes and production systems for the betterment of consumer package goods. Read more…

By Michael Feldman

Cray, AMD to Extend DOE’s Exascale Frontier

May 7, 2019

Cray and AMD are coming back to Oak Ridge National Laboratory to partner on the world’s largest and most expensive supercomputer. The Department of Energy’s Read more…

By Tiffany Trader

Graphene Surprises Again, This Time for Quantum Computing

May 8, 2019

Graphene is fascinating stuff with promise for use in a seeming endless number of applications. This month researchers from the University of Vienna and Institu Read more…

By John Russell

AMD Verifies Its Largest 7nm Chip Design in Ten Hours

June 5, 2019

AMD announced last week that its engineers had successfully executed the first physical verification of its largest 7nm chip design – in just ten hours. The AMD Radeon Instinct Vega20 – which boasts 13.2 billion transistors – was tested using a TSMC-certified Calibre nmDRC software platform from Mentor. Read more…

By Oliver Peckham

TSMC and Samsung Moving to 5nm; Whither Moore’s Law?

June 12, 2019

With reports that Taiwan Semiconductor Manufacturing Co. (TMSC) and Samsung are moving quickly to 5nm manufacturing, it’s a good time to again ponder whither goes the venerable Moore’s law. Shrinking feature size has of course been the primary hallmark of achieving Moore’s law... Read more…

By John Russell

Deep Learning Competitors Stalk Nvidia

May 14, 2019

There is no shortage of processing architectures emerging to accelerate deep learning workloads, with two more options emerging this week to challenge GPU leader Nvidia. First, Intel researchers claimed a new deep learning record for image classification on the ResNet-50 convolutional neural network. Separately, Israeli AI chip startup Hailo.ai... Read more…

By George Leopold

Nvidia Embraces Arm, Declares Intent to Accelerate All CPU Architectures

June 17, 2019

As the Top500 list was being announced at ISC in Frankfurt today with an upgraded petascale Arm supercomputer in the top third of the list, Nvidia announced its Read more…

By Tiffany Trader

Top500 Purely Petaflops; US Maintains Performance Lead

June 17, 2019

With the kick-off of the International Supercomputing Conference (ISC) in Frankfurt this morning, the 53rd Top500 list made its debut, and this one's for petafl Read more…

By Tiffany Trader

Leading Solution Providers

ISC 2019 Virtual Booth Video Tour

CRAY
CRAY
DDN
DDN
DELL EMC
DELL EMC
GOOGLE
GOOGLE
ONE STOP SYSTEMS
ONE STOP SYSTEMS
PANASAS
PANASAS
VERNE GLOBAL
VERNE GLOBAL

Intel Launches Cascade Lake Xeons with Up to 56 Cores

April 2, 2019

At Intel's Data-Centric Innovation Day in San Francisco (April 2), the company unveiled its second-generation Xeon Scalable (Cascade Lake) family and debuted it Read more…

By Tiffany Trader

Cray – and the Cray Brand – to Be Positioned at Tip of HPE’s HPC Spear

May 22, 2019

More so than with most acquisitions of this kind, HPE’s purchase of Cray for $1.3 billion, announced last week, seems to have elements of that overused, often Read more…

By Doug Black and Tiffany Trader

A Behind-the-Scenes Look at the Hardware That Powered the Black Hole Image

June 24, 2019

Two months ago, the first-ever image of a black hole took the internet by storm. A team of scientists took years to produce and verify the striking image – an Read more…

By Oliver Peckham

Announcing four new HPC capabilities in Google Cloud Platform

April 15, 2019

When you’re running compute-bound or memory-bound applications for high performance computing or large, data-dependent machine learning training workloads on Read more…

By Wyatt Gorman, HPC Specialist, Google Cloud; Brad Calder, VP of Engineering, Google Cloud; Bart Sano, VP of Platforms, Google Cloud

It’s Official: Aurora on Track to Be First US Exascale Computer in 2021

March 18, 2019

The U.S. Department of Energy along with Intel and Cray confirmed today that an Intel/Cray supercomputer, "Aurora," capable of sustained performance of one exaf Read more…

By Tiffany Trader

Why Nvidia Bought Mellanox: ‘Future Datacenters Will Be…Like High Performance Computers’

March 14, 2019

“Future datacenters of all kinds will be built like high performance computers,” said Nvidia CEO Jensen Huang during a phone briefing on Monday after Nvidia revealed scooping up the high performance networking company Mellanox for $6.9 billion. Read more…

By Tiffany Trader

Chinese Company Sugon Placed on US ‘Entity List’ After Strong Showing at International Supercomputing Conference

June 26, 2019

After more than a decade of advancing its supercomputing prowess, operating the world’s most powerful supercomputer from June 2013 to June 2018, China is keep Read more…

By Tiffany Trader

In Wake of Nvidia-Mellanox: Xilinx to Acquire Solarflare

April 25, 2019

With echoes of Nvidia’s recent acquisition of Mellanox, FPGA maker Xilinx has announced a definitive agreement to acquire Solarflare Communications, provider Read more…

By Doug Black

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