Automatic MPI to AMPI program transformation using photran

Stas Negara, Gengbin Zheng, Kuo Chuan Pan, Natasha Negara, Ralph E. Johnson, Laxmikant V. Kalé, Paul M. Ricker

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Adaptive MPI, or AMPI, is an implementation of the Message Passing Interface (MPI) standard. AMPI benefits MPI applications with features such as dynamic load balancing, virtualization, and checkpointing. Because AMPI uses multiple user-level threads per physical core, global variables become an obstacle. It is thus necessary to convert MPI programs to AMPI by eliminating global variables. Manually removing the global variables in the program is tedious and error-prone. In this paper, we present a Photran-based tool that automates this task with a source-to-source transformation that supports Fortran. We evaluate our tool on the multi-zone NAS Benchmarks with AMPI. We also demonstrate the tool on a real-world large-scale FLASH code and present preliminary results of running FLASH on AMPI. Both results show significant performance improvement using AMPI. This demonstrates that the tool makes using AMPI easier and more productive.

Original languageEnglish (US)
Title of host publicationEuro-Par 2010 - Parallel Processing Workshops
Subtitle of host publicationHeteroPar, HPPC, HiBB, CoreGrid, UCHPC, HPCF, PROPER, CCPI, VHPC, Revised Selected Papers
Pages531-539
Number of pages9
DOIs
StatePublished - Aug 19 2011
EventParallel Processing Workshops, Euro-Par 2010: HeteroPar 2010, HPPC 2010, HiBB 2010, CoreGrid 2010, UCHPC 2010, HPCF 2010, PROPER 2010, CCPI 2010, VHPC 2010 - Ischia, Italy
Duration: Aug 31 2010Sep 3 2010

Publication series

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

Other

OtherParallel Processing Workshops, Euro-Par 2010: HeteroPar 2010, HPPC 2010, HiBB 2010, CoreGrid 2010, UCHPC 2010, HPCF 2010, PROPER 2010, CCPI 2010, VHPC 2010
CountryItaly
CityIschia
Period8/31/109/3/10

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint Dive into the research topics of 'Automatic MPI to AMPI program transformation using photran'. Together they form a unique fingerprint.

  • Cite this

    Negara, S., Zheng, G., Pan, K. C., Negara, N., Johnson, R. E., Kalé, L. V., & Ricker, P. M. (2011). Automatic MPI to AMPI program transformation using photran. In Euro-Par 2010 - Parallel Processing Workshops: HeteroPar, HPPC, HiBB, CoreGrid, UCHPC, HPCF, PROPER, CCPI, VHPC, Revised Selected Papers (pp. 531-539). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 6586 LNCS). https://doi.org/10.1007/978-3-642-21878-1_65