4.7 Article

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

Publisher

ELSEVIER
DOI: 10.1016/j.future.2020.10.014

Keywords

Agent-based simulation; Domain specific language; GPU; Parallel and distributed computing; Compilers

Funding

  1. DFG, Germany [CO 1544/1-1]
  2. EPSRC, UK [EP/N018869/1]
  3. EPSRC [EP/N018869/1] Funding Source: UKRI

Ask authors/readers for more resources

Agent-based simulations are an effective scientific tool that aims to emulate or predict complex phenomena through simple rules performed by multiple agents. OpenABL is a domain-specific language and compiler for agent-based simulations that enables high-performance parallel and distributed agent simulations in a simple and portable programming environment.
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, GPUs, 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. (C) 2020 Elsevier B.V. All rights reserved.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.7
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available