...
首页> 外文期刊>Future generation computer systems >Easy and efficient agent-based simulations with the OpenABL language and compiler
【24h】

Easy and efficient agent-based simulations with the OpenABL language and compiler

机译:使用Oppabl语言和编译器简单且高效的代理模拟

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

摘要

Agent-based simulations represent an effective scientific tool, with numerous applications from social sciences to biology, which aims to emulate or predict complex phenomena through a set of simple rules performed by multiple agents. To simulate a large number of agents with complex models, practitioners have developed high-performance parallel implementations, often specialized for particular scenarios and target hardware. It is, however, difficult to obtain portable simulations, which achieve high performance and at the same time are easy to write and to reproduce on different hardware. This article gives a complete presentation of OpenABL, a domain-specific language and a compiler for agent-based simulations that enable users to achieve high-performance parallel and distributed agent simulations with a simple and portable programming environment. OpenABL is comprised of (1) an easy-to-program language, which relies on domain abstractions and explicitly exposes agent parallelism, synchronization and locality, (2) a source-to-source compiler, and (3) a set of pluggable compiler backends, which generate target code for multi-core CPUs, CPUs, and cloud-based systems. We evaluate OpenABL on simulations from different fields. In particular, our analysis includes predator-prey and keratinocyte, two complex simulations with multiple step functions, heterogeneous agent types, and dynamic creation and removal of agents. The results show that OPENABL-generated codes are portable to different platforms, perform similarly to manual target-specific implementations, and require significantly fewer lines of codes.
机译:基于代理的模拟代表了一种有效的科学工具,具有许多来自社会科学的应用程序,该工具通过由多个代理执行的一组简单规则来模拟或预测复杂现象。为了模拟具有复杂模型的大量代理,从业者已经开发出高性能并行实现,通常专门为特定场景和目标硬件进行专门。然而,难以获得达到高性能的便携式模拟,并且同时易于编写和再现在不同的硬件上。本文提供了基于代理的模拟的Openable,域特定语言和编译器的完整呈现,使用户能够通过简单便携的编程环境实现高性能并行和分布式代理模拟。 Openabl由(1)易于编程的语言组成,它依赖于域抽象,并明确公开代理并行性,同步和临时,(2)源到源编译器,(3)一组可插拔编译器后端,为基于多核CPU,CPU和基于云的系统生成目标代码。我们从不同领域的模拟中评估Openabl。特别地,我们的分析包括捕食者 - 猎物和角质形成细胞,两种复杂模拟,具有多步函数,异质剂类型和动态的创造和去除剂。结果表明,Openabl生成的代码是可移植到不同平台的,与手动目标特定的实现类似,并且需要显着较少的代码行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号