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!

At Long Last, Supercomputing Helps to Map the Poles

August 22, 2019

“For years,” Paul Morin wrote, “those of us that made maps of the Poles apologized. We apologized for the blank spaces on maps, we apologized for mountains being in the wrong place and out-of-date information.” Read more…

By Oliver Peckham

Xilinx Says Its New FPGA is World’s Largest

August 21, 2019

In this age of exploding “technology disaggregation” – in which the Big Bang emanating from the Intel x86 CPU has produced significant advances in CPU chips and a raft of alternative, accelerated architectures... Read more…

By Doug Black

Supercomputers Generate Universes to Illuminate Galactic Formation

August 20, 2019

With advanced imaging and satellite technologies, it’s easier than ever to see a galaxy – but understanding how they form (a process that can take billions of years) is a different story. Now, a team of researchers f Read more…

By Oliver Peckham

AWS Solution Channel

Efficiency and Cost-Optimization for HPC Workloads – AWS Batch and Amazon EC2 Spot Instances

High Performance Computing on AWS leverages the power of cloud computing and the extreme scale it offers to achieve optimal HPC price/performance. With AWS you can right size your services to meet exactly the capacity requirements you need without having to overprovision or compromise capacity. Read more…

HPE Extreme Performance Solutions

Bring the combined power of HPC and AI to your business transformation

FPGA (Field Programmable Gate Array) acceleration cards are not new, as they’ve been commercially available since 1984. Typically, the emphasis around FPGAs has centered on the fact that they’re programmable accelerators, and that they can truly offer workload specific hardware acceleration solutions without requiring custom silicon. Read more…

IBM Accelerated Insights

Keys to Attracting the Newest HPC Talent – Post-Millennials

[Connect with HPC users and learn new skills in the IBM Spectrum LSF User Community.]

For engineers and scientists growing up in the 80s, the current state of HPC makes perfect sense. Read more…

Singularity Moves Up the Container Value Chain

August 20, 2019

The enterprise version of the Singularity HPC container platform released this week by Sylabs is designed to allow users to create, secure and share the high-end containers in self-hosted production deployments. The e Read more…

By George Leopold

At Long Last, Supercomputing Helps to Map the Poles

August 22, 2019

“For years,” Paul Morin wrote, “those of us that made maps of the Poles apologized. We apologized for the blank spaces on maps, we apologized for mountains being in the wrong place and out-of-date information.” Read more…

By Oliver Peckham

IBM Deepens Plunge into Open Source; OpenPOWER to Join Linux Foundation

August 20, 2019

IBM today announced it was contributing the instruction set (ISA) for its Power microprocessor and the designs for the Open Coherent Accelerator Processor Inter Read more…

By John Russell

Ayar Labs to Demo Photonics Chiplet in FPGA Package at Hot Chips

August 19, 2019

Silicon startup Ayar Labs continues to gain momentum with its DARPA-backed optical chiplet technology that puts advanced electronics and optics on the same chip Read more…

By Tiffany Trader

Scientists to Tap Exascale Computing to Unlock the Mystery of our Accelerating Universe

August 14, 2019

The universe and everything in it roared to life with the Big Bang approximately 13.8 billion years ago. It has continued expanding ever since. While we have a Read more…

By Rob Johnson

AI is the Next Exascale – Rick Stevens on What that Means and Why It’s Important

August 13, 2019

Twelve years ago the Department of Energy (DOE) was just beginning to explore what an exascale computing program might look like and what it might accomplish. Today, DOE is repeating that process for AI, once again starting with science community town halls to gather input and stimulate conversation. The town hall program... Read more…

By Tiffany Trader and John Russell

Cray Wins NNSA-Livermore ‘El Capitan’ Exascale Contract

August 13, 2019

Cray has won the bid to build the first exascale supercomputer for the National Nuclear Security Administration (NNSA) and Lawrence Livermore National Laborator Read more…

By Tiffany Trader

AMD Launches Epyc Rome, First 7nm CPU

August 8, 2019

From a gala event at the Palace of Fine Arts in San Francisco yesterday (Aug. 7), AMD launched its second-generation Epyc Rome x86 chips, based on its 7nm proce Read more…

By Tiffany Trader

Lenovo Drives Single-Socket Servers with AMD Epyc Rome CPUs

August 7, 2019

No summer doldrums here. As part of the AMD Epyc Rome launch event in San Francisco today, Lenovo announced two new single-socket servers, the ThinkSystem SR635 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

Supercomputer-Powered AI Tackles a Key Fusion Energy Challenge

August 7, 2019

Fusion energy is the Holy Grail of the energy world: low-radioactivity, low-waste, zero-carbon, high-output nuclear power that can run on hydrogen or lithium. T Read more…

By Oliver Peckham

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

Cray Wins NNSA-Livermore ‘El Capitan’ Exascale Contract

August 13, 2019

Cray has won the bid to build the first exascale supercomputer for the National Nuclear Security Administration (NNSA) and Lawrence Livermore National Laborator Read more…

By Tiffany Trader

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

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

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

AMD Launches Epyc Rome, First 7nm CPU

August 8, 2019

From a gala event at the Palace of Fine Arts in San Francisco yesterday (Aug. 7), AMD launched its second-generation Epyc Rome x86 chips, based on its 7nm proce Read more…

By 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

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

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

Ayar Labs to Demo Photonics Chiplet in FPGA Package at Hot Chips

August 19, 2019

Silicon startup Ayar Labs continues to gain momentum with its DARPA-backed optical chiplet technology that puts advanced electronics and optics on the same chip Read more…

By Tiffany Trader

Qualcomm Invests in RISC-V Startup SiFive

June 7, 2019

Investors are zeroing in on the open standard RISC-V instruction set architecture and the processor intellectual property being developed by a batch of high-flying chip startups. Last fall, Esperanto Technologies announced a $58 million funding round. Read more…

By George Leopold

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