Formal specification of MPI 2.0: Case study in specifying a practical concurrent programming API (2009)
| Citations: | 3 - 3 self |
BibTeX
@TECHREPORT{Li09formalspecification,
author = {Guodong Li and Robert Palmer B and Michael Delisi A and Ganesh Gopalakrishnan A and Robert M. Kirby A},
title = {Formal specification of MPI 2.0: Case study in specifying a practical concurrent programming API},
institution = {},
year = {2009}
}
OpenURL
Abstract
We describe the first formal specification of a non-trivial subset of MPI, the dominant communication API in high performance computing. Engineering a formal specification for a nontrivial concurrency API requires the right combination of rigor, executability, and traceability, while also serving as a smooth elaboration of a pre-existing informal specification. It also requires the modularization of reusable specification components to keep the length of the specification in check. Long-lived APIs such as MPI are not usually ‘textbook minimalistic ’ because they support a diverse array of applications, a diverse community of users, and have efficient implementations over decades of computing hardware. We choose the TLA+ notation to write our specifications, and describe how we organized the specification of around 200 of the 300 MPI 2.0 functions. We detail a handful of these functions in this paper, and assess our specification with respect to the aforementioned requirements. We close with a description of possible approaches that may help render the act of writing, understanding, and validating the specifications of concurrency APIs much more productive.







