Allowing MPI tools builders to forget about Fortran

Soren Rasmussen, Martin Schulz, Kathryn Mohror

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

2 Scopus citations

Abstract

C tool writers are forced to deal with a number of Fortran and C interoperability issues when intercepting MPI routines and completing them with PMPI. The C based tool has to intercept the Fortran MPI routines and marshal arguments between C and Fortran, which is not always easily done from C. Further, there is a subset of MPI routines that need to call PMPI from the original language they were called from, forcing the C tool to go back to a Fortran layer. Combined, these issues make writing tools that apply to C and Fortran applications both error-prone and time consuming. In this paper, we present WMPI, a wrapper generator that solves these issues by generating multiple lightweight wrappers to handle the marshalling, correct language specific reentry and other incompatibilities.

Original languageEnglish
Title of host publicationProceedings of the 23rd European MPI Users' Group Meeting, EuroMPI 2016
PublisherAssociation for Computing Machinery
Pages208-211
Number of pages4
ISBN (Electronic)9781450342346
DOIs
StatePublished - Sep 25 2016
Event23rd European MPI Users' Group Meeting, EuroMPI 2016 - Edinburgh, United Kingdom
Duration: Sep 25 2016Sep 28 2016

Publication series

NameACM International Conference Proceeding Series
Volume25-28-September-2016

Conference

Conference23rd European MPI Users' Group Meeting, EuroMPI 2016
Country/TerritoryUnited Kingdom
CityEdinburgh
Period09/25/1609/28/16

Keywords

  • Code generation
  • MPI
  • Profiling
  • Tools

Fingerprint

Dive into the research topics of 'Allowing MPI tools builders to forget about Fortran'. Together they form a unique fingerprint.

Cite this