Skip to main content
SHARE
Publication

Exploiting Hierarchical Parallelism in an Astrophysical Equation of State Using OpenACC and OpenMP...

by Otis E Messer Ii, Thomas L Papatheodore
Publication Type
Conference Paper
Book Title
Advances in Parallel Computing, Volume 32: Parallel Computing is Everywhere
Publication Date
Page Numbers
517 to 526
Volume
32
Publisher Location
District of Columbia, United States of America
Conference Name
Parallel Computing Conference (ParCo2017)
Conference Location
Bologna, Italy
Conference Sponsor
CINECA
Conference Date
-

Modeling thermonuclear supernovae is a premier application for leadership-class supercomputers and requires multi-physics simulation codes to capture hydrodynamics, nuclear burning, gravitational forces, etc. As a nuclear detonation burns through the stellar material, it also increases the temperature. An equation of state (EOS) is then required to determine, for example, the new pressure associated with this temperature increase. In fact, an EOS is needed after thermodynamic conditions are changed by any physics routines. This means it is called many times throughout a simulation, requiring the need for a fast EOS implementation. Fortunately, these calculations can be performed independently during each time step, so the work can be offloaded to GPUs. Using results from the IBM/NVIDIA early test system (Summitdev, a precursor to the upcoming Summit supercomputer) at Oak Ridge National Laboratory, we describe a hybrid OpenMP implementation with offloaded work to GPUs. We compare performance results between the two implementations, with a discussion of some of the currently available features of OpenACC and OpenMP 4.5.