THOR: A GPU-accelerated and MPI-parallel radiative transfer code

Emission and absorption line features are important diagnostics for the physics underlying extragalactic astronomy. The interpretation of observed signatures involves making comparisons against forward-modeled spectra from galaxy formation simulations as well as more simplified geometries, while including the complex scattering radiative transfer (RT) of resonant emission lines. Here, we present þor, a modern C++ RT code focused initially on resonant emission lines. þor is a high-performance, distributed-memory, multi-target code that uses the message passing interface (MPI) for parallel execution. It runs on CPUs, GPUs, and other accelerators, yielding large ∼ 10-50 speed-ups compared to previous CPU-only codes. Our code supports multiple grid-based and grid-less data structures, enabling comparisons across different hydrodynamical codes as well as toy model geometries. We demonstrate its science capabilities with a number of example use cases across scales: (i) Lyman-alpha RT on simple shell-like gas distributions; (ii) Lyman-alpha RT applied to a high-resolution, high-redshift (z ∼ 6) cosmological hydrodynamical galaxy formation simulation; (iii) magnesium-II halos, namely, scattering and emission from the circumgalactic medium (CGM) of a z ≃ 1 galaxy drawn from a cosmological magnetohydrodynamical (MHD) simulation; (iv) the large-scale cosmic web in gas emission, a 6144^3 volume element RT scaling calculation; and (v) synthetic absorption spectra of the Lyman-alpha forest. We employed extensive verification and benchmarking to validate our approach and its computational efficiency. x

Authors

Publication Details

Journal
Astronomy and Astrophysics
Published
2026-11-26
DOI
https://doi.org/10.1051/0004-6361/202556517
Citations
12
Primary Topic
Galaxies: Formation, Evolution, Phenomena
Type
article
Field-Weighted Citation Impact
5.91

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

THOR: A GPU-accelerated and MPI-parallel radiative transfer code

Dylan Nelson, Chris Byrohl
12 citations
Astronomy and Astrophysics
Galaxies: Formation, Evolution, Phenomena
5.91
article

THOR: A GPU-accelerated and MPI-parallel radiative transfer code

Dylan Nelson, Chris Byrohl
article en
12 citations

Abstract

Emission and absorption line features are important diagnostics for the physics underlying extragalactic astronomy. The interpretation of observed signatures involves making comparisons against forward-modeled spectra from galaxy formation simulations as well as more simplified geometries, while including the complex scattering radiative transfer (RT) of resonant emission lines. Here, we present þor, a modern C++ RT code focused initially on resonant emission lines. þor is a high-performance, distributed-memory, multi-target code that uses the message passing interface (MPI) for parallel execution. It runs on CPUs, GPUs, and other accelerators, yielding large ∼ 10-50 speed-ups compared to previous CPU-only codes. Our code supports multiple grid-based and grid-less data structures, enabling comparisons across different hydrodynamical codes as well as toy model geometries. We demonstrate its science capabilities with a number of example use cases across scales: (i) Lyman-alpha RT on simple shell-like gas distributions; (ii) Lyman-alpha RT applied to a high-resolution, high-redshift (z ∼ 6) cosmological hydrodynamical galaxy formation simulation; (iii) magnesium-II halos, namely, scattering and emission from the circumgalactic medium (CGM) of a z ≃ 1 galaxy drawn from a cosmological magnetohydrodynamical (MHD) simulation; (iv) the large-scale cosmic web in gas emission, a 6144^3 volume element RT scaling calculation; and (v) synthetic absorption spectra of the Lyman-alpha forest. We employed extensive verification and benchmarking to validate our approach and its computational efficiency. x

Astronomy and Astrophysics
Deutsche Forschungsgemeinschaft, Eberhard Karls Universität Tübingen, Max-Planck-Institut für Astronomie, Japan Society for the Promotion of Science
Openalex Percentile: Top 4%
Galaxies: Formation, Evolution, Phenomena
5.91
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon