Hybrid Programming Using OpenSHMEM and OpenACC

  • Matthew Baker
  • Swaroop Pophale
  • Jean-Charles Vasnier
  • Haoqiang Jin
  • Oscar Hernandez
Conference paper

DOI: 10.1007/978-3-319-05215-1_6

Volume 8356 of the book series Lecture Notes in Computer Science (LNCS)
Cite this paper as:
Baker M., Pophale S., Vasnier JC., Jin H., Hernandez O. (2014) Hybrid Programming Using OpenSHMEM and OpenACC. In: Poole S., Hernandez O., Shamis P. (eds) OpenSHMEM and Related Technologies. Experiences, Implementations, and Tools. OpenSHMEM 2014. Lecture Notes in Computer Science, vol 8356. Springer, Cham

Abstract

With high performance systems exploiting multicore and accelerator-based architectures on a distributed shared memory system, heterogenous hybrid programming models are the natural choice to exploit all the hardware made available on these systems. Previous efforts looking into hybrid models have primarily focused on using OpenMP directives (for shared memory programming) with MPI (for inter-node programming on a cluster), using OpenMP to spawn threads on a node and communication libraries like MPI to communicate across nodes. As accelerators get added into the mix, and there is better hardware support for PGAS languages/APIs, this means that new and unexplored heterogenous hybrid models will be needed to effectively leverage the new hardware. In this paper we explore the use of OpenACC directives to program GPUs and the use of OpenSHMEM, a PGAS library for onesided communication between nodes. We use the NAS-BT Multi-zone benchmark that was converted to use the OpenSHMEM library API for network communication between nodes and OpenACC to exploit accelerators that are present within a node. We evaluate the performance of the benchmark and discuss our experiences during the development of the OpenSHMEM+OpenACC hybrid program.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Matthew Baker
    • 1
  • Swaroop Pophale
    • 3
  • Jean-Charles Vasnier
    • 4
  • Haoqiang Jin
    • 2
  • Oscar Hernandez
    • 1
  1. 1.Oak Ridge National LaboratoryOak RidgeUSA
  2. 2.NASA AmesUSA
  3. 3.University of HoustonHoustonUSA
  4. 4.CAPS EntrepriseFrance