Skip to main content
QUICK REVIEW

[Paper Review] Minimod: A Finite Difference solver for Seismic Modeling

Jie Meng, Andreas Atle|arXiv (Cornell University)|Jul 12, 2020
Seismic Imaging and Inversion TechniquesEarth and Planetary Sciences20 references10 citations
TL;DR

Minimod is a portable, self-contained finite difference solver for seismic wave modeling, designed as a proxy application to benchmark high-performance computing (HPC) platforms. It supports both optimized and non-optimized kernels for CPU and GPU architectures, enabling evaluation of performance across modern HPC systems using strong and weak scalability tests, with results showing up to 63% ideal scalability on IBM Power and 60% on Fujitsu A64FX systems.

ABSTRACT

This article introduces a benchmark application for seismic modeling using finite difference method, which is namedMiniMod, a mini application for seismic modeling. The purpose is to provide a benchmark suite that is, on one hand easy to build and adapt to the state of the art in programming models and changing high performance hardware landscape. On the other hand, the intention is to have a proxy application to actual production geophysical exploration workloads for Oil & Gas exploration, and other geosciences applications based on the wave equation. From top to bottom, we describe the design concepts, algorithms, code structure of the application, and present the benchmark results on different current computer architectures.

Motivation & Objective

  • To provide a lightweight, portable proxy application for seismic modeling that mirrors real geophysical workloads.
  • To support benchmarking of emerging HPC hardware and programming models, including multi-threading and GPU offloading.
  • To evaluate node-level and distributed-memory parallel performance across diverse architectures such as IBM Power and Fujitsu A64FX.
  • To enable performance analysis and optimization through integrated profiling tools like HPCToolkit.
  • To guide HPC procurement decisions by providing measurable performance trends for wave-equation-based seismic imaging workloads.

Proposed method

  • Uses finite difference methods (FDM) on structured grids to solve the acoustic wave equation in 3D, with both constant and variable density formulations.
  • Implements three grid types: collocated, Yee staggered, and Lebedev staggered grids to support different numerical stencils and accuracy levels.
  • Provides both non-optimized and optimized computational kernels for CPU (OpenMP) and GPU (OpenACC) execution to enable performance comparison.
  • Employs perfectly matched layers (PML) for absorbing boundary conditions to minimize wave reflections in simulations.
  • Conducts strong and weak scalability tests on distributed-memory systems using MPI, with fixed problem sizes for strong scaling and scaled problem sizes for weak scaling.
  • Uses HPCToolkit for detailed profiling of CPU and GPU execution traces, including call path analysis and time spent in kernel subroutines.

Experimental results

Research questions

  • RQ1How does Minimod’s performance scale across different HPC architectures, including IBM Power and Fujitsu A64FX systems?
  • RQ2To what extent do optimized kernels improve performance on modern CPU and GPU platforms compared to non-optimized versions?
  • RQ3How does the choice of grid staggering (collocated, Yee, Lebedev) affect numerical accuracy and computational efficiency in seismic wave modeling?
  • RQ4What is the impact of problem size and MPI rank count on weak and strong scalability in Minimod’s distributed-memory implementation?
  • RQ5Where are the performance bottlenecks in Minimod’s computational kernels, and how do they differ between CPU and GPU execution?

Key findings

  • Minimod achieves 63% of ideal scalability on the IBM Power system and 60% on the Fujitsu A64FX system in strong scaling tests with 256 MPI ranks.
  • Weak scaling efficiency remains high up to 8 MPI ranks, with performance ratios exceeding 100% due to smaller problem sizes, before declining at higher ranks.
  • Profiling with HPCToolkit reveals that the PML (perfectly matched layer) implementation consumes the largest share of execution time, especially on CPU and GPU.
  • GPU profiling shows idle periods in the device execution, indicating potential for optimization in kernel launch and data transfer scheduling.
  • The sequential kernel profiling shows that the inner stencil computation and PML boundary treatment are the dominant computational phases.
  • The optimized kernels significantly improve performance on both CPU and GPU, enabling efficient evaluation of new programming models and hardware.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.