Intel Speeds NAMD by 1.8x: Saves Xeon Processor Users Millions of Compute Hours

By Rob Farber

August 12, 2020

Potentially saving datacenters millions of CPU node hours, Intel and the University of Illinois at Urbana–Champaign (UIUC) have collaborated to develop AVX-512 optimizations for the NAMD scalable molecular dynamics code. These optimizations will be incorporated into release 2.15 with patches available for earlier versions. Users of the Frontera supercomputer at the Texas Advanced Computing Center (TACC) are already using the NAMD patch to help accelerate research into the pathology and treatment of COVID-19.[i]

Benchmarks show that Intel’s optimized version of this workhorse application can run up to 1.8x faster on Intel Xeon Scalable processors compared to the non-optimized version.  Note that the 1.8x is coming from the Intel Xeon Gold 6148 results (specifically 0.66 compared to 1.17). The performance when combining both the software optimization and hardware performance of newer processors such as an Intel Xeon Platinum 9282 results in NAMD running 3x faster.

Figure 1: Speedups on the NAMD million atom STMV (Satellite Tobacco Mosaic Virus) benchmark.

Considered a reference by the NAMD scientific community, the million atom STMV (Satellite Tobacco Mosaic Virus) benchmark is indicative of the relative performance improvement scientists can expect for their own simulations. A 1.8x speedup in the NAMD code means that scientists can potentially obtain their molecular modeling results 1.8x faster or have their runs tie up 1.8x fewer nodes.

David Hardy is a senior research programmer in the Theoretical and Computational Biophysics Group of the Beckman Institute at the University of Illinois at Urbana-Champaign and is the lead developer of NAMD. He says, “NAMD development continues to benefit from a long-standing relationship with Intel, providing critical insights into current and upcoming technology, together with software engineering expertise and code contributions to improve performance.”

Optimizing a top HPC application

NAMD (short for Nanoscale Molecular Dynamics) is a widely utilized application in the HPC space. [ii] Researchers use NAMD to simulate detailed atomic scale models that can illuminate molecular structural details of how a virus works and what aspects of its structure offer potential targets for vaccines and treatments.

John Cazes (director of High Performance Computing, TACC) sees a tremendous benefit for NAMD users at TACC: “From Stampede to Stampede2 and now on Frontera, NAMD has been a major tool for scientists using TACC resources. We track application usage regularly and NAMD is always in the top 5, if not number one, each quarter. The Intel and UIUC improvements to NAMD will benefit our users on both Stampede2 and Frontera. We look forward to updating our installs when version 2.15 with AVX-512 support is released.”

Million node hour savings scales to large systems

Intel believes the significant performance boost from the optimized NAMD code will allow researchers to achieve longer timescales in the simulation of relevant molecules associated with disease, and by extension enable them to better understand aspects of infection with atom-level detail.

More specifically, the Intel optimized code speeds the computation of non-bonded atomic operations, which consume most of the NAMD runtime. The optimization uses a “tile” algorithm [iii] that increases the computational efficiency of each computational node by exploiting the Intel AVX-512 vector units and larger cache of the Intel Xeon Scalable processors. The tile algorithm does not affect NAMD’s scaling behavior across nodes, so researchers essentially get a 1.8x more powerful supercomputer simply by using the optimized code on large simulations.

Benchmarks confirm the speedup potential. Shown below is the strong scaling of NAMD on the TACC Frontera supercomputer running two different large synthetic benchmark systems, each assembled from “gluing” the STMV periodic cube (1,066,628 atoms) into an array of STMV to produce a bigger periodic system. The smaller system consists of a 5x2x2 array of 20 STMV (totaling about 21M atoms), and the larger system consists of a 7x6x5 array of 210 STMV (totaling about 224M atoms). Shown in Figure 2 are the performance results of the three different versions of NAMD (AVX2, AVX-512, and AVX-512 tiles, as compared in Figure 1) running the two synthetic benchmark systems, confirming the speedup available from the latest AVX-512 Tiles optimization and demonstrating NAMD’s scalability on Frontera for large simulations. The three NAMD versions use the Charm++ runtime system with the UCX communication layer, all built with the Intel 2019 C++ compiler.

Figure 2: Scaling results for the three different versions of NAMD (AVX2, AVX-512, and AVX-512 tiles) running two different benchmark systems (20 STMV and 210 STMV) on the TACC Frontera supercomputer. These results confirm the speedup available from the latest AVX-512 Tiles optimization.

Understanding the impact

To understand the impact of the optimized NAMD code, consider the efforts of a research team from the University of California San Diego (UCSD) led by Rommie Amaro (professor of Chemistry and Biochemistry at UCSD).

TACC reports that Amaro and her team have already used about 2.3 million Frontera node hours for molecular dynamics simulations and modeling, the most among any researchers using the system to study COVID-19. [iv]

The project provides an example of the magnitude of compute resources involved in a single research study. According to the Intel benchmarks, the optimizations have the potential for million-node hour savings for just this one project. Mike Brown, principal engineer in HPC at Intel Corporation, adds, “The savings are cumulative. When added with the many research projects in molecular biophysics running NAMD on AVX-512 capable clusters, both at TACC and other institutions, the impact to science can be very significant.”

The societal impact of such large-scale molecular studies can be huge. Amaro is a corresponding author of another recent study in which simulations on the National Science Foundation (NSF)-funded Frontera supercomputer reveal surprising information about the atomic makeup of the coronavirus’s exterior shield. This shell is the part of the virus we are trying to destroy when we wash our hands for 20 seconds. Contact by rubbing with soap destroys this viral shield.

Once inside the body, this shell camouflages the virus so it can hide itself from defending antibodies in our immune system.

The study, published June 12, 2020 discovered that shield’s sugary coating of molecules, called glycans, also prime the coronavirus to infect a cell by changing the shape of an internal spike protein.

Amaro noted, “That was really surprising to see. It’s one of the major results of our study. It suggests that the role of glycans in this case is going beyond shielding to potentially having these chemical groups actually being involved in the dynamics of the spike protein,” she said.

She likened the action of the glycan to pulling the trigger of a gun. “When that bit of the spike goes up, the finger is on the trigger of the infection machinery.” Amaro said. “When it gets like that, all it has to do is come up against an ACE2 receptor in the human cell, and then it’s going to bind super tightly and the cell is basically infected.”

Figure 3: The sugary coating of molecules called glycans (deep blue) that shield the SARS-CoV-2 spike from detection by the human immune system. (Credit: Lorenzo Casalino (UCSD) et al.)

Visualizing the model dynamics provides a wealth of information

Scientists have to study and visualize the dynamics of these atomic level models so they can understand what the computer model is telling them.

The key word is “visualize” as scientists also require powerful visual capabilities that can display the tremendous amount of data generated by optimized models running on world class supercomputers. Molecular dynamics simulations performed with NAMD (and other packages) are all about depicting the atoms of the system in motion. However, it’s not just a question of modeling the system, it’s also about visualizing the dynamics. Both visualization and simulation are closely related.

Amaro describes the dynamics of a good viral model as a “computational microscope” that lets scientists study “the wiggles and jiggles of the atoms”. [v] The latter reference pays homage to Physicist Richard Feynman who famously said, “Everything that living things do can be understood in terms of the jiggling and wiggling of atoms.”[vi]

To give others a sense of the jiggly nature of the atoms in these simulations, Amaro’s team created a moving visualization of the coronavirus spiked-protein, which can give readers a sense. This visualization is based on research they performed at TACC.

VMD: A visualization tool for NAMD users

Intel’s NAMD optimization work dovetails nicely with their open source SDVis (Software Defined Visualization) initiative with various industry collaborators which allows scientists to visualize huge data sets using CPUs – even on exascale supercomputers. [vii] Many major visualization tools such as ParaView, VisIt, and VMD (Visual Molecular Dynamics) have adopted the Intel SDVis libraries which include Embree, OSPRay, and OpenSWR.

For leadership research such as the coronavirus envelope simulations, the SDVis solutions are the right tool at the right time as they were designed to handle extremely large, data intensive visualizations. VMD in particular is pertinent as it was designed to be used in conjunction with NAMD, for the setup and analysis of the atomic scale systems,[viii] and has a demonstrated ability to render large models comprising hundreds of millions of atoms. [ix]

CPU-based rendering is becoming the norm in the HPC community. At TACC for example, Paul Navrátil (Director of Visualization, TACC) points out that, “CPU-based SDVis will be our primary visual analysis mode on Frontera.” Looking to the future, please see the article “Preparing for the Arrival of Aurora with CPU-based Interactive Visualization.” For general information on SDVis, please consult sdvis.org.

Summary

Intel NAMD optimizations offer significant improvements on Intel Xeon Scalable processor workload that will free millions of node hours of time for additional research. Benchmarks show that the optimized version with AVX-512 support can run up to 1.8x faster on Intel Xeon Scalable processors compared to the non-optimized version. The impact of these optimizations is cumulative.

UIUC and Intel continue to collaborate on software optimizations and algorithms to best exploit leading supercomputers, including Aurora, the planned U.S. exascale supercomputer to be located at Argonne National Laboratory. There is hope that NAMD will get even faster, as Mike Brown notes the CPU optimization work for NAMD is not done.

Besides NAMD, other Intel optimization efforts include LAMMPS (a molecular dynamics code), GROMACS (a package for protein, lipids, and nucleic acids simulation), AMBER (another molecular dynamics code), and others [x] to facilitate scientific innovation on the largest CPU-based supercomputers.

About the Author

Rob Farber is a global technology consultant and author with an extensive background in HPC, AI, and teaching. Rob can be reached at [email protected]

[i] While NAMD 2.13 does include optimizations for vector computing (in part from previous collaboration between Intel and UIUC), the CPU algorithm that considers each interaction between pairs of atoms does not make the best use of AVX-512 vector units.

[ii] Intersect360

[iii] https://link.springer.com/chapter/10.1007%2F978-3-319-46079-6_14

[iv] https://www.hpcwire.com/2020/06/16/researchers-use-frontera-to-investigate-covid-19s-insidious-sugar-coating/

[v] https://beta.nsf.gov/science-matters/once-considered-too-high-risk-supercomputer-simulations-wiggling-and-jiggling-atoms

[vi] American Scientist 

[vii] https://dl.acm.org/doi/10.5555/3293524.3293526

[viii] https://en.wikipedia.org/wiki/NAMD

[ix] http://www.ks.uiuc.edu/Research/vmd/

[x] https://venturebeat.com/2020/06/08/covid-19-hpc-consortiums-supercomputing-effort-is-helping-scientists-better-understand-covid-19/

 

 

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!

The Present and Future of AI: A Discussion with HPC Visionary Dr. Eng Lim Goh

November 27, 2020

As HPE’s chief technology officer for artificial intelligence, Dr. Eng Lim Goh devotes much of his time talking and consulting with enterprise customers about how AI can benefit their business operations and products. Read more…

By Todd R. Weiss

SC20 Panel – OK, You Hate Storage Tiering. What’s Next Then?

November 25, 2020

Tiering in HPC storage has a bad rep. No one likes it. It complicates things and slows I/O. At least one storage technology newcomer – VAST Data – advocates dumping the whole idea. One large-scale user, NERSC storage architect Glenn Lockwood sort of agrees. The challenge, of course, is that tiering... Read more…

By John Russell

Exscalate4CoV Runs 70 Billion-Molecule Coronavirus Simulation

November 25, 2020

The winds of the pandemic are changing – for better and for worse. Three viable vaccines now teeter on the brink of regulatory approval, which will pave the way for broad distribution by April or May. But until then, COVID-19 cases are skyrocketing across the U.S. and Europe... Read more…

By Oliver Peckham

Azure Scaled to Record 86,400 Cores for Molecular Dynamics

November 20, 2020

A new record for HPC scaling on the public cloud has been achieved on Microsoft Azure. Led by Dr. Jer-Ming Chia, the cloud provider partnered with the Beckman Institute for Advanced Science and Technology at the Universi Read more…

By Oliver Peckham

Gordon Bell Special Prize Goes to Massive SARS-CoV-2 Simulations

November 19, 2020

2020 has proven a harrowing year – but it has produced remarkable heroes. To that end, this year, the Association for Computing Machinery (ACM) introduced the Gordon Bell Special Prize for High Performance Computing-Ba Read more…

By Oliver Peckham

AWS Solution Channel

Introducing AWS ParallelCluster as an Intel Select Solution

High performance computing (HPC) system owners can spend weeks or months researching, procuring, and assembling components to build HPC clusters to run their workloads. Understanding and managing the complexities of compute, storage, networking, and software requirements can be confusing and time-consuming, slowing innovation and results. Read more…

Intel® HPC + AI Pavilion

Intel Keynote Address

Intel is the foundation of HPC – from the workstation to the cloud to the backbone of the Top500. At SC20, Intel’s Trish Damkroger, VP and GM of high performance computing, addresses the audience to show how Intel and its partners are building the future of HPC today, through hardware and software technologies that accelerate the broad deployment of advanced HPC systems. Read more…

Gordon Bell Prize Winner Breaks Ground in AI-Infused Ab Initio Simulation

November 19, 2020

The race to blend deep learning and first-principle simulation to speed up solutions and scale up problems tackled is one of the most exciting research areas in computational science today. This year’s ACM Gordon Bell Prize winner announced today at SC20 makes significant progress in that direction. Read more…

By John Russell

The Present and Future of AI: A Discussion with HPC Visionary Dr. Eng Lim Goh

November 27, 2020

As HPE’s chief technology officer for artificial intelligence, Dr. Eng Lim Goh devotes much of his time talking and consulting with enterprise customers about Read more…

By Todd R. Weiss

SC20 Panel – OK, You Hate Storage Tiering. What’s Next Then?

November 25, 2020

Tiering in HPC storage has a bad rep. No one likes it. It complicates things and slows I/O. At least one storage technology newcomer – VAST Data – advocates dumping the whole idea. One large-scale user, NERSC storage architect Glenn Lockwood sort of agrees. The challenge, of course, is that tiering... Read more…

By John Russell

Exscalate4CoV Runs 70 Billion-Molecule Coronavirus Simulation

November 25, 2020

The winds of the pandemic are changing – for better and for worse. Three viable vaccines now teeter on the brink of regulatory approval, which will pave the way for broad distribution by April or May. But until then, COVID-19 cases are skyrocketing across the U.S. and Europe... Read more…

By Oliver Peckham

Azure Scaled to Record 86,400 Cores for Molecular Dynamics

November 20, 2020

A new record for HPC scaling on the public cloud has been achieved on Microsoft Azure. Led by Dr. Jer-Ming Chia, the cloud provider partnered with the Beckman I Read more…

By Oliver Peckham

Gordon Bell Special Prize Goes to Massive SARS-CoV-2 Simulations

November 19, 2020

2020 has proven a harrowing year – but it has produced remarkable heroes. To that end, this year, the Association for Computing Machinery (ACM) introduced the Read more…

By Oliver Peckham

Gordon Bell Prize Winner Breaks Ground in AI-Infused Ab Initio Simulation

November 19, 2020

The race to blend deep learning and first-principle simulation to speed up solutions and scale up problems tackled is one of the most exciting research areas in computational science today. This year’s ACM Gordon Bell Prize winner announced today at SC20 makes significant progress in that direction. Read more…

By John Russell

SC20 Keynote: Climate, Exascale & the Ultimate Answer

November 19, 2020

SC20’s keynote was delivered by renowned meteorologist and climatologist Bjorn Stevens, a director at the Max Planck Institute for Meteorology since 2008 and a professor at the University of Hamburg. In his keynote, Stevens traced the history of climate science from its earliest days through... Read more…

By Oliver Peckham

EuroHPC Exec. Dir. Talks Procurement, EPI, and Europe’s Efforts to Control its HPC Destiny

November 19, 2020

While much of the HPC community’s attention is fixed on SC20’s flood of news and new product announcements, Anders Dam Jensen, the newly-minted executive di Read more…

By Steve Conway

Nvidia Said to Be Close on Arm Deal

August 3, 2020

GPU leader Nvidia Corp. is in talks to buy U.K. chip designer Arm from parent company Softbank, according to several reports over the weekend. If consummated Read more…

By George Leopold

Supercomputer-Powered Research Uncovers Signs of ‘Bradykinin Storm’ That May Explain COVID-19 Symptoms

July 28, 2020

Doctors and medical researchers have struggled to pinpoint – let alone explain – the deluge of symptoms induced by COVID-19 infections in patients, and what Read more…

By Oliver Peckham

Azure Scaled to Record 86,400 Cores for Molecular Dynamics

November 20, 2020

A new record for HPC scaling on the public cloud has been achieved on Microsoft Azure. Led by Dr. Jer-Ming Chia, the cloud provider partnered with the Beckman I Read more…

By Oliver Peckham

Google Hires Longtime Intel Exec Bill Magro to Lead HPC Strategy

September 18, 2020

In a sign of the times, another prominent HPCer has made a move to a hyperscaler. Longtime Intel executive Bill Magro joined Google as chief technologist for hi Read more…

By Tiffany Trader

HPE Keeps Cray Brand Promise, Reveals HPE Cray Supercomputing Line

August 4, 2020

The HPC community, ever-affectionate toward Cray and its eponymous founder, can breathe a (virtual) sigh of relief. The Cray brand will live on, encompassing th Read more…

By Tiffany Trader

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…

By Doug Black

NICS Unleashes ‘Kraken’ Supercomputer

April 4, 2008

A Cray XT4 supercomputer, dubbed Kraken, is scheduled to come online in mid-summer at the National Institute for Computational Sciences (NICS). The soon-to-be petascale system, and the resulting NICS organization, are the result of an NSF Track II award of $65 million to the University of Tennessee and its partners to provide next-generation supercomputing for the nation's science community. Read more…

Is the Nvidia A100 GPU Performance Worth a Hardware Upgrade?

October 16, 2020

Over the last decade, accelerators have seen an increasing rate of adoption in high-performance computing (HPC) platforms, and in the June 2020 Top500 list, eig Read more…

By Hartwig Anzt, Ahmad Abdelfattah and Jack Dongarra

Leading Solution Providers

Contributors

Aurora’s Troubles Move Frontier into Pole Exascale Position

October 1, 2020

Intel’s 7nm node delay has raised questions about the status of the Aurora supercomputer that was scheduled to be stood up at Argonne National Laboratory next year. Aurora was in the running to be the United States’ first exascale supercomputer although it was on a contemporaneous timeline with... Read more…

By Tiffany Trader

European Commission Declares €8 Billion Investment in Supercomputing

September 18, 2020

Just under two years ago, the European Commission formalized the EuroHPC Joint Undertaking (JU): a concerted HPC effort (comprising 32 participating states at c Read more…

By Oliver Peckham

At Oak Ridge, ‘End of Life’ Sometimes Isn’t

October 31, 2020

Sometimes, the old dog actually does go live on a farm. HPC systems are often cursed with short lifespans, as they are continually supplanted by the latest and Read more…

By Oliver Peckham

Texas A&M Announces Flagship ‘Grace’ Supercomputer

November 9, 2020

Texas A&M University has announced its next flagship system: Grace. The new supercomputer, named for legendary programming pioneer Grace Hopper, is replacing the Ada system (itself named for mathematician Ada Lovelace) as the primary workhorse for Texas A&M’s High Performance Research Computing (HPRC). Read more…

By Oliver Peckham

Top500: Fugaku Keeps Crown, Nvidia’s Selene Climbs to #5

November 16, 2020

With the publication of the 56th Top500 list today from SC20's virtual proceedings, Japan's Fugaku supercomputer – now fully deployed – notches another win, Read more…

By Tiffany Trader

Nvidia and EuroHPC Team for Four Supercomputers, Including Massive ‘Leonardo’ System

October 15, 2020

The EuroHPC Joint Undertaking (JU) serves as Europe’s concerted supercomputing play, currently comprising 32 member states and billions of euros in funding. I Read more…

By Oliver Peckham

Microsoft Azure Adds A100 GPU Instances for ‘Supercomputer-Class AI’ in the Cloud

August 19, 2020

Microsoft Azure continues to infuse its cloud platform with HPC- and AI-directed technologies. Today the cloud services purveyor announced a new virtual machine Read more…

By Tiffany Trader

Nvidia-Arm Deal a Boon for RISC-V?

October 26, 2020

The $40 billion blockbuster acquisition deal that will bring chipmaker Arm into the Nvidia corporate family could provide a boost for the competing RISC-V architecture. As regulators in the U.S., China and the European Union begin scrutinizing the impact of the blockbuster deal on semiconductor industry competition and innovation, the deal has at the very least... 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