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.
CITATION STYLE
Chuang, P. Y., & Foertter, F. S. (2018). An example of porting PETSc applications to heterogeneous platforms with OpenACC. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 10732 LNCS, pp. 3–19). Springer Verlag. https://doi.org/10.1007/978-3-319-74896-2_1
Mendeley helps you to discover research relevant for your work.