An Example of Porting PETSc Applications to Heterogeneous
Platforms with OpenACC
Author/Presenters
Event Type
Workshop
Accelerators
Applications
Compiler Analysis and Optimization
Compilers
Parallel Programming Languages, Libraries, Models
and Notations
Runtime Systems
TimeMonday, November 13th10:30am -
11am
Location712
DescriptionIn 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.




