Simulating a More Detailed Universe with Frontier Exascale HPC

Print Friendly, PDF & Email

A trio of new cosmological simulation codes was unveiled in presentations at the annual April Meeting of the American Physical Society in Minneapolis by Oak Ridge Leadership Computing Facility Director of Science, Bronson Messer, who chaired the session covering these next-generation codes. According to OLCF, the codes “(herald) a new era of exascale computational astrophysics that promises to advance our understanding of the universe with models of unprecedented scale and resolution.

Powered by the incoming generation of exascale — a billion-billion floating point operations per second — supercomputers, the updated versions of Cholla, HACC and Parthenon are the culmination of years of work by developers to prepare their codes for exascale’s thousandfold increase from petascale computing speed. With their successful early runs on the OLCF’s Frontier supercomputer, located at the Department of Energy’s Oak Ridge National Laboratory, the codes are ready to explore virtual domains of the cosmos that were previously beyond science’s reach.

“These newly improved astrophysical codes provide some of the clearest demonstrations of the most empowering features of exascale computing for science,” said Messer, a computational astrophysicist, distinguished scientist at ORNL and member of the team that won a 2022 R&D 100 Award for the Flash-X software. “All these teams are simulating an array of physical processes happening on scales ranging over many orders of magnitude — from the size of stars to the size of the universe — while incorporating feedback between one set of physics to others and vice versa. They represent some of the most challenging problems that will be attacked on Frontier, and I expect the results to be remarkably impactful.”

HACC/CRK-HACC

HACC, for Hardware/Hybrid Accelerated Cosmology Code, is a veteran simulator of the cosmos that focuses on large-scale structure formation in the dark sector, which includes dark energy, dark matter, neutrinos and the origins of primordial fluctuations.

HACC’s origins date back to the Roadrunner supercomputer at Los Alamos National Laboratory, which was the first machine to break the petaflop barrier — a million billion floating-point operations per second — in 2008. Currently being developed by researchers at Argonne National Laboratory with support from DOE’s Exascale Computing Project, or ECP, HACC has been optimized for Frontier’s AMD Instinct™ GPU accelerators, and optimizations for Argonne’s Aurora supercomputer and its Intel GPUs are in the works.

This cosmological hydrodynamic simulation produced by CRK-HACC is actually a snapshot of the universe. A large cluster is zoomed in. The targeted simulation on Frontier will be 140 times larger, with hundreds of thousands of clusters. Credit: Michael Buehlmann/HACC Argonne

With development support from the ECP’s ExaSky project, HACC leverages exascale’s increased computing abilities by packing in more physics models than the original code’s gravity solver. As survey data of the universe becomes more detailed and complex, the more sophisticated such simulation tools must become to keep pace. Astrophysicists use observations to validate the virtual mock-ups of the universe, constraining parameters used in the simulations; if their measurements don’t match the simulation’s, then there’s a disparity to resolve.

 

One of HACC’s biggest goals is to provide survey-scale mock catalogs for current large-scale, large-structure formation surveys such as the Rubin Observatory LSSTSPHEREx, and CMB-S4.

“Being able to mock those surveys requires a tremendous amount of volume to simulate and a lot of physics to compute. And none of these things are achievable with the previous generation of supercomputers,” said Nicholas Frontiere, a computational scientist at Argonne and co-team leader for CRK-HACC development, which adds hydrodynamics modeling. “It’s only at the exascale regime that you can really start simulating the volumes that are required for these types of surveys.”

HACC’s future sounds pretty straightforward: more is better.

“The next horizon for us is including more and more detailed astrophysics in our simulations so that even with the same volumes and simulations, you can get better resolution,” Frontiere said. “So, most of our research is really adding more physics, which is something we would never have been able to consider without running at the scales we are now.”

Cholla

This is a visualization of an outflow of galactic wind at a point in time using Cholla. Credit: Evan Schneider/University of Pittsburgh

Initially developed in 2014 by an astrophysics doctoral student at the University of Arizona, the GPU-accelerated fluid dynamics solver Cholla, for Computational Hydrodynamics On ParaLLel Architectures, was intended to help users better understand how the universe’s gases evolve over time. That student, Evan Schneider, is now an assistant professor in the University of Pittsburgh’s Department of Physics and Astronomy, and Cholla has become an astrophysics powerhouse.

Schneider intends to use Cholla to simulate an entire galaxy the size of the Milky Way at the scale of a single star cluster; modeling a massive galaxy at this resolution would be a first for computational astrophysics. Doing so will require more than just optimizing the code to run on Frontier, an effort that was supported by the Frontier Center for Accelerated Application Readiness, or CAAR, program.

Cholla has also attracted helping hands on its way to exascale — in particular, those of Bruno Villasenor, who was studying dark matter as a doctoral student at the University of California, Santa Cruz. He and his Ph.D. adviser, Brant Robertson, decided to use Cholla for their simulations of the Lyman-Alpha Forest, which is a series of absorption features formed as the light from distant quasars encounters material along its journey to Earth. But to do so required several more physics models. So, Villasenor integrated them into Cholla.

“Bruno added gravity, added particles, and added cosmology so that we could do these big cosmological boxes. And so that really changed Cholla from a pure fluid dynamics code into an astrophysics code,” Schneider said.

Now, with its new capabilities powered by Frontier’s exascale speed, Cholla is poised to accomplish breakthrough work that was inconceivable on previous systems.

“Resolution is the name of the game. The holy grail for me is to be able to run a simulation of a Milky Way-sized galaxy with individual supernova explosions resolved. And so far, people have only been able to do that for tiny galaxies because you must have a high-enough resolution to cover the entire disk at something like a parsec scale,” Schneider said. “It sounds simple because it is just the difference between running a simulation with 4,000-cubed cells and a simulation with 10,000-cubed cells, but that’s roughly 60 billion cells to 1 trillion cells, total. You really need the jump to exascale to be able to do that.”

That leap is about to happen, and Schneider and her team can’t wait to get started.

“It’s really exciting to work on building something for a long time and then finally being able to see it at scale. Everybody’s just excited to see what we’re going to be able to do,” Schneider said.

Parthenon

AthenaPK (with the Parthenon framework) created this simulation of a cold, dense cloud of plasma hit by a diffuse, hot, supersonic wind. At top left, cloud density overlaid with the simulation mesh that is finer around the cloud. At bottom left, streamlines of the wind, shown in white, with areas of strong vorticity, in orange, lead to turbulence in the wake. At bottom right, magnetic field lines drape around the cloud, shielding it from the wind. At top right is the jellyfish galaxy ESO 137-001, which shows similar behavior. Credits: simulations from Philipp Grete/AthenaPK; galaxy observation from NASA/ESA Hubble Space Telescope, Chandra X-ray Observatory

At its core, the open-source Parthenon is an adaptive mesh refinement code for grid-based simulations with the ability to refine resolution only in a certain region of a simulation grid to increase the speed and accuracy of its calculations. Its development team, including Forrest Glines, a Metropolis Postdoctoral Fellow at Los Alamos, and Philipp Grete, a Marie Skłodowska-Curie Actions Postdoctoral Fellow at the Hamburg Observatory, uses Parthenon in its own code, called AthenaPK, to simulate different astrophysical systems — primarily turbulence and feedback from active galactic nuclei, or AGN, jets.

But what makes Parthenon unique in exascale-class computational astrophysics is its performance portability via Kokkos, which allows Parthenon to serve as a framework for other fluid dynamics codes to leverage mesh refinement no matter what architecture they’re running on — NVIDIA GPUs, AMD GPUs, Intel GPUs, Arm CPUs or just traditional CPUs.

“Parthenon’s performance portability allows researchers to run on any supercomputer platform that the underlying Kokkos framework supports. Developers don’t have to worry about reimplementing their simulation code for each new platform,” Glines said. “The faster codes driven by Parthenon allow more simulations with higher resolution and thus higher-fidelity models of the physical systems they’re studying.”

Parthenon is already being used in a variety of codes, including Phoebus, which is a general relativistic magnetohydrodynamics, or GRMHD, code being developed at Los Alamos National Lab, and KHARMA, which is another GRMHD code being developed at the University of Illinois Urbana-Champaign. KHARMA was already used in an Innovative and Novel Computational Impact on Theory and Experiment, or INCITE,  project last year.

Meanwhile, the team’s AthenaPK software is being used in a 2023 INCITE project on Frontier to study “feedback and energetics from magnetized AGN jets in galaxy groups and clusters.”

“We’re particularly excited about our own project because without Parthenon and without AthenaPK, the computational physics challenge — talking about resolving both the jet and the surrounding diffuse plasma at sufficiently high resolution to study self-regulation — would not have been possible on any other machine or with any other code that we are aware of right now,” Grete said.

UT-Battelle manages ORNL 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.


source Coury Z. Turczyn, OLCF