An Example of Porting PETSc Applications to Heterogeneous Platforms with OpenACC

Autor: Pi-Yueh Chuang, Fernanda Foertter
Rok vydání: 2018
Předmět:
Zdroj: Accelerator Programming Using Directives ISBN: 9783319748955
WACCPD@SC
DOI: 10.1007/978-3-319-74896-2_1
Popis: In this paper, we document the workflow of our practice to port a PETSc application with OpenACC to a supercomputer, Titan, at Oak Ridge National Laboratory. Our experience shows a few lines of code modifications with OpenACC directives can give us a speedup of 1.34x in a PETSc-based Poisson solver (conjugate gradient method with algebraic multigrid preconditioner). This demonstrates the feasibility of enabling GPU capability in PETSc with OpenACC. We hope our work can serve as a reference to those who are interested in porting their legacy PETSc applications to modern heterogeneous platforms.
Databáze: OpenAIRE