首页> 外文期刊>International Journal for Multiscale Computational Engineering >A Multilingual Programming Model for Coupled Systems
【24h】

A Multilingual Programming Model for Coupled Systems

机译:耦合系统的多语言编程模型

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

摘要

Multiphysics and multiscale simulation systems share a common software requirement-infrastructure to implement data exchanges between their constituent parts-often called the coupling problem. On distributed-memory parallel platforms, the coupling problem is complicated by the need to describe, transfer, and transform distributed data, known as the parallel coupling problem. Parallel coupling is emerging as a new grand challenge in computational science as scientists attempt to build multiscale and multiphysics systems on parallel platforms. An additional coupling problem in these systems is language interoperability between their constituent codes. We have created a multilingual parallel coupling programming model based on a successful open-source parallel coupling library, the Model Coupling Toolkit (MCT). This programming model's capabilities reach beyond MCT's native Fortran implementation to include bindings for the C++ and Python programming languages. We describe the method used to generate the interlanguage bindings. This approach enables an object-based programming model for implementing parallel couplings in non-Fortran coupled systems and in systems with language heterogeneity. We describe the C++ and Python versions of the MCT programming model and provide short examples. We report preliminary performance results for the MCT interpolation benchmark. We describe a major Python application that uses the MCT Python bindings, a Python implementation of the control and coupling infrastructure for the community climate system model. We conclude with a discussion of the significance of this work to productivity computing in multidisciplinary computational science.
机译:多物理场和多尺度模拟系统共享一个通用的软件需求基础结构,以实现其组成部分之间的数据交换,通常称为耦合问题。在分布式内存并行平台上,耦合问题由于需要描述,传输和转换分布式数据而变得复杂,这称为并行耦合问题。随着科学家试图在并行平台上构建多尺度和多物理场系统,并行耦合正成为计算科学领域的新挑战。这些系统中的另一个耦合问题是其组成代码之间的语言互操作性。我们已经基于成功的开源并行耦合库Model Coupling Toolkit(MCT)创建了多语言并行耦合编程模型。该编程模型的功能超出了MCT的本机Fortran实现的范围,包括了C ++和Python编程语言的绑定。我们描述了用于生成中间语言绑定的方法。这种方法使基于对象的编程模型能够在非Fortran耦合系统和具有语言异构性的系统中实现并行耦合。我们描述了MCT编程模型的C ++和Python版本,并提供了简短的示例。我们报告了MCT插值基准测试的初步性能结果。我们描述了一个主要的Python应用程序,该应用程序使用MCT Python绑定,这是社区气候系统模型的控制和耦合基础结构的Python实现。最后,我们讨论了这项工作对多学科计算科学中生产力计算的重要性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号