Skip to main content
QUICK REVIEW

[Paper Review] Porting Large HPC Applications to GPU Clusters: The Codes GENE and VERTEX

T. Dannert, Andreas Marek|arXiv (Cornell University)|Oct 5, 2013
Magnetic confinement fusion researchPhysics and Astronomy7 references3 citations
TL;DR

This paper presents the porting of two large-scale HPC applications—GENE for plasma turbulence and VERTEX for core-collapse supernova simulations—to GPU-accelerated clusters using CUDA. The authors achieve up to twofold speedups by optimizing GPU kernels and balancing CPU-GPU workloads, demonstrating that heterogeneous architectures can significantly reduce time-to-solution for production-level scientific codes without sacrificing scalability.

ABSTRACT

We have developed GPU versions for two major high-performance-computing (HPC) applications originating from two different scientific domains. GENE is a plasma microturbulence code which is employed for simulations of nuclear fusion plasmas. VERTEX is a neutrino-radiation hydrodynamics code for "first principles"-simulations of core-collapse supernova explosions. The codes are considered state of the art in their respective scientific domains, both concerning their scientific scope and functionality as well as the achievable compute performance, in particular parallel scalability on all relevant HPC platforms. GENE and VERTEX were ported by us to HPC cluster architectures with two NVidia Kepler GPUs mounted in each node in addition to two Intel Xeon CPUs of the Sandy Bridge family. On such platforms we achieve up to twofold gains in the overall application performance in the sense of a reduction of the time to solution for a given setup with respect to a pure CPU cluster. The paper describes our basic porting strategies and benchmarking methodology, and details the main algorithmic and technical challenges we faced on the new, heterogeneous architecture.

Motivation & Objective

  • To enable significant performance improvements in large, production-grade HPC applications by porting them to GPU-accelerated clusters.
  • To address the challenge of integrating GPU acceleration into complex, highly optimized scientific codes with existing parallel scalability.
  • To evaluate the feasibility and performance gains of GPU offloading in real-world HPC workloads from fusion energy and astrophysics.
  • To identify and overcome key bottlenecks in data movement and kernel porting for heterogeneous architectures.
  • To assess the sustainability, maintainability, and cost-effectiveness of GPU porting for long-lived scientific applications.

Proposed method

  • Adopted the CUDA programming model for GPU kernel development, favoring performance over portability due to superior GPU performance compared to CUDA-Fortran.
  • Used a performance baseline of highly optimized CPU-only runs on equivalent node counts to measure speedup, ensuring fair comparison.
  • Performed detailed profiling of GENE and VERTEX to identify compute-intensive kernels, such as field solvers and nonlinear term computations.
  • Optimized data transfers between CPU and GPU, identifying them as a major bottleneck in GENE, especially on PCIe 2.0.
  • Balanced CPU and GPU workloads across nodes to avoid underutilization and maximize overall application throughput.
  • Avoided OpenACC and OpenMP-based approaches due to inferior performance compared to hand-optimized CUDA kernels.

Experimental results

Research questions

  • RQ1Can large, production-grade HPC applications like GENE and VERTEX achieve significant performance gains when ported to GPU-accelerated clusters?
  • RQ2What are the primary performance bottlenecks when migrating complex, highly parallel scientific codes to heterogeneous CPU-GPU architectures?
  • RQ3How does GPU acceleration affect the weak scalability of existing HPC applications?
  • RQ4To what extent can performance improvements be achieved without rearchitecting the core algorithms?
  • RQ5What are the trade-offs in development effort, maintainability, and long-term sustainability when using low-level GPU kernels?

Key findings

  • The authors achieved up to twofold speedup in overall application performance for both GENE and VERTEX on GPU-accelerated clusters with two K20X GPUs per node.
  • The performance of GENE is currently limited by data transfer between CPU and GPU, which is expected to improve with future PCIe 3.0 hardware.
  • VERTEX demonstrated excellent weak scalability on GPU clusters, maintaining its existing strong performance characteristics.
  • Threefold speedups are feasible if the linear solver for block-tridiagonal systems is ported, but this is currently blocked by lack of device-callable LAPACK functionality.
  • The CPU-only versions of GENE and VERTEX were already highly optimized, so the gains from GPU offloading were substantial despite high baseline performance.
  • The effort of several person-months per code was justified by the performance gains, especially considering energy efficiency and hardware cost savings.

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.