tool · draft

FLAME GPU 2

University of Sheffield library that runs very large agent-based models on NVIDIA graphics processors, from C++ or Python; AGPL-3.0, or a commercial licence.

People & societyCities & places

What is reusable: open sourceopen dataAPIopen participation AGPL-3.0

FLAME GPU, the Flexible Large-scale Agent Modelling Environment for GPUs, is a simulator for agent-based models, in which many individuals interact, that puts the parallelism of graphics cards to work.1,2,3 The modeller describes what each kind of agent does and how agents communicate, are born and die, and FLAME GPU maps that onto optimised CUDA code for NVIDIA GPUs, so the modeller need not know GPU programming.1,3 Because the agents' data is already on the graphics card, large populations can be shown moving in real time.1,3 It is developed by Paul Richmond and colleagues at the University of Sheffield.1,2

Version 2 is a complete rewrite with C++ and Python interfaces.1,3 It can run ensembles, the same model many times with different settings or random seeds, spread over several GPUs on one computer, and supports reusable sub-models.2 It needs an NVIDIA GPU and CUDA 12 or later.3 Python users can install pre-built packages with pip; the C++ library is built from source.3

FLAME GPU 2 is still a release candidate, so its interface may change before a stable release, and writing agent functions in Python syntax is experimental.3 The latest release candidate, 2.0.0-rc.5, came out in October 2026.6 Current versions are available under the AGPL-3.0 licence, which requires that a model distributed to others comes with its source code, or under a commercial licence with a fee negotiated by use; earlier versions were MIT-licensed.4 The software to cite is Richmond, Chisholm, Heywood, Leach and Kabiri Chimeh, FLAME GPU, Zenodo, 2021.2

Among the project's case studies is a road network model of vehicles and junctions, built with Fujitsu Research Europe as a digital twin of the Isle of Wight.5 Others model infectious disease spreading inside buildings, and how train door width and carriage layout affect passengers boarding at the platform.5 Those show the use for a place: traffic, crowds or an epidemic simulated individual by individual at large scale, fast enough to run many scenarios. Repast HPC reaches similar sizes on supercomputers instead of graphics cards.

form
open-source C++ and Python library
group
Agents and system dynamics
homepage
https://flamegpu.com/
licence
AGPL-3.0 or commercial
cost
free under AGPL-3.0; commercial licence by negotiation

does a similar job

  • Repast HPC tool draft

    Open-source C++ toolkit in Argonne's Repast Suite for agent-based models split across the processors of a cluster or supercomputer; Simphony (Java) and Repast4Py (Python) are its siblings.

    open sourceopen dataAPIopen participation

  • Agents.jl tool draft

    Open-source Julia library from JuliaDynamics for agent-based models, with grids, networks, continuous space and OpenStreetMap road networks, and both step-by-step and event-driven time.

    open sourceopen dataAPIopen participation

helps answer this question

  • Crowds and evacuation question draft

    How will people move through a crowded place, and how long would it take to clear an area in an emergency?

alternative to

  • Repast HPC tool draft

    Open-source C++ toolkit in Argonne's Repast Suite for agent-based models split across the processors of a cluster or supercomputer; Simphony (Java) and Repast4Py (Python) are its siblings.

    open sourceopen dataAPIopen participation

Tags: agent-based, GPU, CUDA, Python, large-scale simulation

staging: drafts and proposals shown