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!

A Beginner’s Guide to the ASC19 Finals

April 22, 2019

Three thousand watts. That's how much power the competitors in the 2019 ASC Student Supercomputer Challenge here in Dalian, China, have to work with. Everybody would like more juice to run compute-intensive HPC simulatio Read more…

By Alex Woodie

Is Data Science the Fourth Pillar of the Scientific Method?

April 18, 2019

Nvidia CEO Jensen Huang revived a decade-old debate last month when he said that modern data science (AI plus HPC) has become the fourth pillar of the scientific method. While some disagree with the notion that statistic Read more…

By Alex Woodie

At ASF 2019: The Virtuous Circle of Big Data, AI and HPC

April 18, 2019

We've entered a new phase in IT -- in the world, really -- where the combination of big data, artificial intelligence, and high performance computing is pushing the bounds of what's possible in business and science, in w Read more…

By Alex Woodie with Doug Black and Tiffany Trader

HPE Extreme Performance Solutions

HPE and Intel® Omni-Path Architecture: How to Power a Cloud

Learn how HPE and Intel® Omni-Path Architecture provide critical infrastructure for leading Nordic HPC provider’s HPCFLOW cloud service.

powercloud_blog.jpgFor decades, HPE has been at the forefront of high-performance computing, and we’ve powered some of the fastest and most robust supercomputers in the world. Read more…

IBM Accelerated Insights

Bridging HPC and Cloud Native Development with Kubernetes

The HPC community has historically developed its own specialized software stack including schedulers, filesystems, developer tools, container technologies tuned for performance and large-scale on-premises deployments. Read more…

Google Open Sources TensorFlow Version of MorphNet DL Tool

April 18, 2019

Designing optimum deep neural networks remains a non-trivial exercise. “Given the large search space of possible architectures, designing a network from scratch for your specific application can be prohibitively expens Read more…

By John Russell

A Beginner’s Guide to the ASC19 Finals

April 22, 2019

Three thousand watts. That's how much power the competitors in the 2019 ASC Student Supercomputer Challenge here in Dalian, China, have to work with. Everybody Read more…

By Alex Woodie

At ASF 2019: The Virtuous Circle of Big Data, AI and HPC

April 18, 2019

We've entered a new phase in IT -- in the world, really -- where the combination of big data, artificial intelligence, and high performance computing is pushing Read more…

By Alex Woodie with Doug Black and Tiffany Trader

Interview with 2019 Person to Watch Michela Taufer

April 18, 2019

Today, as part of our ongoing HPCwire People to Watch focus series, we are highlighting our interview with 2019 Person to Watch Michela Taufer. Michela -- the Read more…

By HPCwire Editorial Team

Intel Gold U-Series SKUs Reveal Single Socket Intentions

April 18, 2019

Intel plans to jump into the single socket market with a portion of its just announced Cascade Lake microprocessor line according to one media report. This isn Read more…

By John Russell

BSC Researchers Shrink Floating Point Formats to Accelerate Deep Neural Network Training

April 15, 2019

Sometimes calculating solutions as precisely as a computer can wastes more CPU resources than is necessary. A case in point is with deep learning. In early stag Read more…

By Ken Strandberg

Intel Extends FPGA Ecosystem with 10nm Agilex

April 11, 2019

The insatiable appetite for higher throughput and lower latency – particularly where edge analytics and AI, network functions, or for a range of datacenter ac Read more…

By Doug Black

Nvidia Doubles Down on Medical AI

April 9, 2019

Nvidia is collaborating with medical groups to push GPU-powered AI tools into clinical settings, including radiology and drug discovery. The GPU leader said Monday it will collaborate with the American College of Radiology (ACR) to provide clinicians with its Clara AI tool kit. The partnership would allow radiologists to leverage AI techniques for diagnostic imaging using their own clinical data. Read more…

By George Leopold

Digging into MLPerf Benchmark Suite to Inform AI Infrastructure Decisions

April 9, 2019

With machine learning and deep learning storming into the datacenter, the new challenge is optimizing infrastructure choices to support diverse ML and DL workfl Read more…

By John Russell

The Case Against ‘The Case Against Quantum Computing’

January 9, 2019

It’s not easy to be a physicist. Richard Feynman (basically the Jimi Hendrix of physicists) once said: “The first principle is that you must not fool yourse Read more…

By Ben Criger

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

ClusterVision in Bankruptcy, Fate Uncertain

February 13, 2019

ClusterVision, European HPC specialists that have built and installed over 20 Top500-ranked systems in their nearly 17-year history, appear to be in the midst o Read more…

By Tiffany Trader

Intel Reportedly in $6B Bid for Mellanox

January 30, 2019

The latest rumors and reports around an acquisition of Mellanox focus on Intel, which has reportedly offered a $6 billion bid for the high performance interconn Read more…

By Doug Black

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

Looking for Light Reading? NSF-backed ‘Comic Books’ Tackle Quantum Computing

January 28, 2019

Still baffled by quantum computing? How about turning to comic books (graphic novels for the well-read among you) for some clarity and a little humor on QC. The Read more…

By John Russell

IBM Quantum Update: Q System One Launch, New Collaborators, and QC Center Plans

January 10, 2019

IBM made three significant quantum computing announcements at CES this week. One was introduction of IBM Q System One; it’s really the integration of IBM’s Read more…

By John Russell

Deep500: ETH Researchers Introduce New Deep Learning Benchmark for HPC

February 5, 2019

ETH researchers have developed a new deep learning benchmarking environment – Deep500 – they say is “the first distributed and reproducible benchmarking s Read more…

By John Russell

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

IBM Bets $2B Seeking 1000X AI Hardware Performance Boost

February 7, 2019

For now, AI systems are mostly machine learning-based and “narrow” – powerful as they are by today's standards, they're limited to performing a few, narro Read more…

By Doug Black

The Deep500 – Researchers Tackle an HPC Benchmark for Deep Learning

January 7, 2019

How do you know if an HPC system, particularly a larger-scale system, is well-suited for deep learning workloads? Today, that’s not an easy question to answer Read more…

By John Russell

Arm Unveils Neoverse N1 Platform with up to 128-Cores

February 20, 2019

Following on its Neoverse roadmap announcement last October, Arm today revealed its next-gen Neoverse microarchitecture with compute and throughput-optimized si Read more…

By Tiffany Trader

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

France to Deploy AI-Focused Supercomputer: Jean Zay

January 22, 2019

HPE announced today that it won the contract to build a supercomputer that will drive France’s AI and HPC efforts. The computer will be part of GENCI, the Fre Read more…

By Tiffany Trader

Oil and Gas Supercloud Clears Out Remaining Knights Landing Inventory: All 38,000 Wafers

March 13, 2019

The McCloud HPC service being built by Australia’s DownUnder GeoSolutions (DUG) outside Houston is set to become the largest oil and gas cloud in the world th Read more…

By Tiffany Trader

Intel Extends FPGA Ecosystem with 10nm Agilex

April 11, 2019

The insatiable appetite for higher throughput and lower latency – particularly where edge analytics and AI, network functions, or for a range of datacenter ac Read more…

By Doug Black

UC Berkeley Paper Heralds Rise of Serverless Computing in the Cloud – Do You Agree?

February 13, 2019

Almost exactly ten years to the day from publishing of their widely-read, seminal paper on cloud computing, UC Berkeley researchers have issued another ambitious examination of cloud computing - Cloud Programming Simplified: A Berkeley View on Serverless Computing. The new work heralds the rise of ‘serverless computing’ as the next dominant phase of cloud computing. Read more…

By John Russell

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