Skip to main content
QUICK REVIEW

[Paper Review] The BioDynaMo Project: Creating a Platform for Large-Scale Reproducible Biological Simulations

Lukas Breitwieser, Roman Bauer|arXiv (Cornell University)|Aug 17, 2016
Scientific Computing and Data ManagementDecision Sciences2 references9 citations
TL;DR

BioDynaMo is a C++-based, cloud-compatible platform for large-scale, reproducible biological simulations, designed to replace legacy Java frameworks like Cx3D. By modernizing code with OpenMP, structure-of-arrays layouts, and reproducible floating-point math via crlibm, the project achieved up to 320x speedup in optimized benchmarks and enabled scalable, maintainable simulations across international teams.

ABSTRACT

Computer simulations have become a very powerful tool for scientific research. In order to facilitate research in computational biology, the BioDynaMo project aims at a general platform for biological computer simulations, which should be executable on hybrid cloud computing systems. This paper describes challenges and lessons learnt during the early stages of the software development process, in the context of implementation issues and the international nature of the collaboration.

Motivation & Objective

  • To create a scalable, extensible platform for large-scale biological simulations that supports diverse computational biology domains.
  • To overcome limitations of legacy simulation software like Cx3D, which lacks cloud support, parallelism, and maintainability.
  • To ensure reproducibility and correctness across heterogeneous computing environments through standardized, test-driven development.
  • To foster international collaboration in computational biology through structured software engineering and communication tools.
  • To modernize legacy Java codebases into high-performance C++ with minimal disruption via incremental, hybrid-language porting.

Proposed method

  • Replaced Java-based Cx3D with a C++ port using an iterative, hybrid approach: one class at a time, with C++ classes connected to remaining Java code.
  • Employed data layout transformations (array of structures → structure of arrays) to improve memory access patterns and vectorization potential.
  • Applied OpenMP for shared-memory parallelism and Intel Cilk Plus for task-level parallelism to exploit multi-core architectures.
  • Integrated continuous integration with Travis-CI and automated testing using JSON-serialized simulation outputs compared against ground truth from Cx3D 0.03.
  • Enforced coding standards using the Google C++ styleguide with automated tools like cpplint and Eclipse formatting.
  • Used crlibm math library to ensure bit-identical floating-point results across platforms, enabling reproducibility.

Experimental results

Research questions

  • RQ1How can a legacy biological simulation framework be modernized to support modern high-performance computing architectures?
  • RQ2What software engineering practices are essential for maintaining a large-scale, internationally collaborative simulation platform?
  • RQ3To what extent can performance be improved through code modernization without altering simulation semantics?
  • RQ4How can reproducibility of floating-point results be ensured across diverse hardware and compilers?
  • RQ5What role does gamification play in accelerating performance optimization in scientific software development?

Key findings

  • The iterative C++ porting strategy with hybrid Java/C++ integration enabled continuous testing and significantly simplified debugging.
  • A single-threaded, non-vectorized C++ version achieved median performance improvements of 1.7x and up to 4.8x over the original Java version.
  • In the Intel Modern Code Development Challenge, optimized C++ code achieved a 320x speedup over the original sequential C++ version using layout transformations, OpenMP, and custom memory management.
  • Reproducible floating-point results were achieved across platforms by integrating the crlibm library, resolving inconsistencies due to floating-point arithmetic variations.
  • Automated testing with JSON-based output comparison ensured functional correctness during modernization and enabled reliable regression testing.
  • The combination of continuous integration, code reviews via GitHub pull requests, and communication tools like Slack and mailing lists proved essential for managing international collaboration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.