Skip to content
OpenTrain AIFor AI Companies

Cornerstone: Octree Construction Algorithms for Scalable Particle Simulations

Sebastian Keller, Aurélien Cavelan, Rubén Cabezon, Lucio Mayer, Florina M. CiorbaPublished Jul 12, 2023
arXiv PDF DOI
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few hours
Fast first run
Risk flags
0
None detected

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

This paper presents an octree construction method, called Cornerstone, that facilitates global domain decomposition and interactions between particles in mesh-free numerical simulations. Our method is based on algorithms developed for 3D computer graphics, which we extend to distributed high performance computing (HPC) systems. Cornerstone yields global and locally essential octrees and is able to operate on all levels of tree hierarchies in parallel. The resulting octrees are suitable for supporting the computation of various kinds of short and long range interactions in N-body methods, such as Barnes-Hut and the Fast Multipole Method (FMM). While we provide a CPU implementation, Cornerstone may run entirely on GPUs. This results in significantly faster tree construction compared to execution on CPUs and serves as a powerful building block for the design of simulation codes that move beyond an offloading approach, where only numerically intensive tasks are dispatched to GPUs. With data residing exclusively in GPU memory, Cornerstone eliminates data movements between CPUs and GPUs. As an example, we employ Cornerstone to generate locally essential octrees for a Barnes-Hut treecode running on almost the full LUMI-G system with up to 8 trillion particles.

Results and benchmarks

Freshness tier: cold
This paper presents an octree construction method, called Cornerstone, that facilitates global domain decomposition and interactions between particles in mesh-free numerical simulations.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Strong

SPH-EXA is a C++20 simulation code for performing hydrodynamics simulations (with gravity and other physics), parallelized with MPI, OpenMP, CUDA, and HIP.

106 stars · 37 forks · Last push Aug 23, 2026 · MIT license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Partial overlap with paper title keywords

Why this implementation
Confidence: high

unibas-dmi-hpc/sph-exa is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (MIT).

Open unibas-dmi-hpc/sph-exa
Reproduction risks
  • No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
  • Selected unibas-dmi-hpc/sph-exa as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

unibas-dmi-hpc/sph-exa
best maintained
Maintenance
Active
Confidence
High
Reproducibility
Strong
Stars
106
Last push
Aug 23, 2026 (2d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No Docker setup
sekelle/cornerstone-octree
historical official
Maintenance
Active
Confidence
High
Reproducibility
Moderate
Stars
51
Last push
Aug 5, 2026 (21d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No CI pipeline detected
  • No Docker setup
exafmm/bonsai
alternative
Maintenance
Stale risk
Confidence
High
Reproducibility
Limited
Stars
3
Last push
Oct 21, 2025 (308d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No CI pipeline detected
  • No tagged releases
  • No Docker setup

Reproduction readiness

Time to first repro: hours
Last checked: Aug 24, 2026

Ready to run

Ready to reproduce

  • Clone unibas-dmi-hpc/sph-exa and install dependencies from pyproject.toml.
  • CI pipeline detected, so automated tests are in place.
  • Last updated 2 days ago.
Open unibas-dmi-hpc/sph-exa

Quick start

git clone https://github.com/unibas-dmi-hpc/sph-exa.git
pip install -e .

Repositories and ecosystem

Official

  • exafmm/bonsai
    Confidence: High

    exafmm/ryoanji

    3 stars · 4 forks · Last push Oct 21, 2025

Community

No additional community repositories detected yet.

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Models

Curated Related

Datasets

No trustworthy datasets matches right now.

Search datasets on Hugging Face

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

8

Citations

26

References

Tasks

Cornerstone, Computer science, Octree, Parallel computing, Scalability, Computational science, Graphics, Computation

Methods

None detected

Domains

Physics and Astronomy, Atomic and Molecular Physics, and Optics

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).