An example of porting PETSc applications to heterogeneous platforms with OpenACC

Pi Yueh Chuang, Fernanda S. Foertter

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationAccelerator Programming Using Directives - 4th International Workshop, WACCPD 2017, Held in Conjunction with the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2017, Proceedings
EditorsGuido Juckeland, Sunita Chandrasekaran
PublisherSpringer Verlag
Pages3-19
Number of pages17
ISBN (Print)9783319748955
DOIs
StatePublished - 2018
Event4th International Workshop on Accelerator Programming Using Directives, WACCPD 2017, Held in Conjunction with the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2017 - Denver, United States
Duration: Nov 13 2017Nov 13 2017

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10732 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference4th International Workshop on Accelerator Programming Using Directives, WACCPD 2017, Held in Conjunction with the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2017
Country/TerritoryUnited States
CityDenver
Period11/13/1711/13/17

Funding

This manuscript has been co-authored by UT-Battelle, LLC, under contract DE-AC05-00OR22725 with the US Department of Energy (DOE). The US government retains and the publisher, by accepting the article for publication, acknowledges that the US government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript, or allow others to do so, for US government purposes. DOE will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan (http://energy.gov/downloads/doe-public-access-plan). Acknowledgement. This research used resources of the Oak Ridge Leadership Computing Facility at Oak Ridge National Laboratory, which is supported by the Office of Science of the Department of Energy under Contract DE-AC05-00OR22725.

FundersFunder number
Oak
Office of Science of the Department of Energy
US Department of Energy
UT-Battelle
U.S. Department of EnergyDE-AC05-00OR22725
Oak Ridge National Laboratory

    Keywords

    • GPU computing
    • OpenACC
    • PETSc

    Fingerprint

    Dive into the research topics of 'An example of porting PETSc applications to heterogeneous platforms with OpenACC'. Together they form a unique fingerprint.

    Cite this