...
首页> 外文期刊>Geoscientific Model Development >A generic simulation cell method for developing extensible, efficient and readable parallel computational models
【24h】

A generic simulation cell method for developing extensible, efficient and readable parallel computational models

机译:用于开发可扩展,高效和可读的并行计算模型的通用仿真单元方法

获取原文
           

摘要

I present a method for developing extensible and modular computational modelswithout sacrificing serial or parallel performance or source codereadability. By using a generic simulation cell method I show that it ispossible to combine several distinct computational models to run in the samecomputational grid without requiring modification of existing code. This isan advantage for the development and testing of, e.g., geoscientific softwareas each submodel can be developed and tested independently and subsequentlyused without modification in a more complex coupled program. Animplementation of the generic simulation cell method presented here, genericsimulation cell class (gensimcell), also includes support for parallelprogramming by allowing model developers to select which simulation variablesof, e.g., a domain-decomposed model to transfer between processes via a MessagePassing Interface (MPI) library. This allows the communication strategy of aprogram to be formalized by explicitly stating which variables must betransferred between processes for the correct functionality of each submodeland the entire program. The generic simulation cell class requires a C++compiler that supports a version of the language standardized in 2011(C++11). The code is available athref="https://github.comasailja/gensimcell"target="_blank">https://github.comasailja/gensimcell for everyone to use, study,modify and redistribute; those who do are kindly requested to acknowledgeand cite this work.
机译:我提出了一种在不牺牲串行或并行性能或源代码可读性的情况下开发可扩展和模块化计算模型的方法。通过使用通用的模拟单元方法,我证明了可以组合几个不同的计算模型以在相同的计算网格中运行,而无需修改现有代码。这对于例如地球科学软件的开发和测试是一个优势,因为每个子模型都可以独立开发和测试,随后无需修改即可在更复杂的耦合程序中使用。本文介绍的通用仿真单元方法的实现,通用仿真单元类(gensimcell),还包括通过允许模型开发人员选择要通过消息传递接口(MPI)在过程之间传递的域分解模型等仿真变量来支持并行编程。图书馆。通过明确说明必须在进程之间传递哪些变量以实现整个程序的每个子模式的正确功能,可以使程序的通信策略形式化。通用模拟单元类需要一个C ++编译器,该编译器支持2011年标准化的语言版本(C ++ 11)。该代码可从href="https://github.comasailja/gensimcell"target="_blank"> https://github.comasailja/gensimcell 获得,供所有人使用,学习,修改和重新分发;敬请那些这样做的人承认并引用这项工作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号