首页> 外文期刊>Science of Computer Programming >Formal specification of MPI 2.0: Case study in specifying a practical concurrent programming API
【24h】

Formal specification of MPI 2.0: Case study in specifying a practical concurrent programming API

机译:MPI 2.0的正式规范:指定实用的并发编程API的案例研究

获取原文
获取原文并翻译 | 示例

摘要

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 non-trivial 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.
机译:我们描述了MPI的一个重要子集的第一个正式规范,MPI是高性能计算中的主要通信API。设计非平凡的并发API的正式规范需要将严格性,可执行性和可追溯性进行正确的组合,同时还可以平滑地完善已有的非正式规范。它还需要可重复使用的规范组件的模块化,以保持规范的长度。长寿的API(例如MPI)通常不是“简约教科书”,因为它们支持各种应用程序,各种用户社区,并且在数十年的计算硬件上具有有效的实现。我们选择TLA +标记来编写我们的规范,并描述我们如何组织300 MPI 2.0函数中大约200个的规范。我们在本文中详细介绍了其中一些功能,并根据上述要求评估了我们的规格。我们以可能的方法的描述结尾,这些方法可能有助于使并发API的编写,理解和验证规范的工作效率更高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号