Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

RAMSES-yOMP : Performance Optimizations for the Astrophysical Hydrodynamic Simulation Code RAMSES

Han, San ; Dubois, Yohan ; Lee, Jaehyun ; Kim, Juhan ; Cadiou, Corentin LU orcid and Yi, Sukyoung K. (2025) In Astrophysical Journal 978(1).
Abstract

Developing an efficient code for large, multiscale astrophysical simulations is crucial in preparing for the upcoming era of exascale computing. RAMSES is an astrophysical simulation code that employs parallel processing based on the message-passing interface (MPI). However, it has limitations in computational and memory efficiency when using a large number of CPU cores. The problem stems from inefficiencies in workload distribution and memory allocation that inevitably occur when a volume is simply decomposed into domains equal to the number of working processors. We present RAMSES-yOMP, which is a modified version of RAMSES designed to improve parallel scalability. Major updates include the incorporation of open multiprocessing into... (More)

Developing an efficient code for large, multiscale astrophysical simulations is crucial in preparing for the upcoming era of exascale computing. RAMSES is an astrophysical simulation code that employs parallel processing based on the message-passing interface (MPI). However, it has limitations in computational and memory efficiency when using a large number of CPU cores. The problem stems from inefficiencies in workload distribution and memory allocation that inevitably occur when a volume is simply decomposed into domains equal to the number of working processors. We present RAMSES-yOMP, which is a modified version of RAMSES designed to improve parallel scalability. Major updates include the incorporation of open multiprocessing into the MPI parallelization to take advantage of both the shared and distributed memory models. Utilizing this hybrid parallelism in high-resolution benchmark simulations with full prescriptions for baryonic physics, we achieved an increase in performance by a factor of 2 in the total run-time, while using 75% less memory and 30% less storage than the original code, when using the same number of processors. These improvements allow us to perform larger or higher-resolution simulations than what was feasible previously.

(Less)
Please use this url to cite or link to this publication:
author
; ; ; ; and
organization
publishing date
type
Contribution to journal
publication status
published
subject
in
Astrophysical Journal
volume
978
issue
1
article number
96
publisher
American Astronomical Society
external identifiers
  • scopus:85219509308
ISSN
0004-637X
DOI
10.3847/1538-4357/ad98f4
language
English
LU publication?
yes
additional info
Publisher Copyright: © 2024. The Author(s). Published by the American Astronomical Society.
id
85e7fe6d-19c7-46cc-8cd8-f292a609f3ad
date added to LUP
2025-07-04 10:18:26
date last changed
2025-07-04 10:19:15
@article{85e7fe6d-19c7-46cc-8cd8-f292a609f3ad,
  abstract     = {{<p>Developing an efficient code for large, multiscale astrophysical simulations is crucial in preparing for the upcoming era of exascale computing. RAMSES is an astrophysical simulation code that employs parallel processing based on the message-passing interface (MPI). However, it has limitations in computational and memory efficiency when using a large number of CPU cores. The problem stems from inefficiencies in workload distribution and memory allocation that inevitably occur when a volume is simply decomposed into domains equal to the number of working processors. We present RAMSES-yOMP, which is a modified version of RAMSES designed to improve parallel scalability. Major updates include the incorporation of open multiprocessing into the MPI parallelization to take advantage of both the shared and distributed memory models. Utilizing this hybrid parallelism in high-resolution benchmark simulations with full prescriptions for baryonic physics, we achieved an increase in performance by a factor of 2 in the total run-time, while using 75% less memory and 30% less storage than the original code, when using the same number of processors. These improvements allow us to perform larger or higher-resolution simulations than what was feasible previously.</p>}},
  author       = {{Han, San and Dubois, Yohan and Lee, Jaehyun and Kim, Juhan and Cadiou, Corentin and Yi, Sukyoung K.}},
  issn         = {{0004-637X}},
  language     = {{eng}},
  month        = {{01}},
  number       = {{1}},
  publisher    = {{American Astronomical Society}},
  series       = {{Astrophysical Journal}},
  title        = {{RAMSES-yOMP : Performance Optimizations for the Astrophysical Hydrodynamic Simulation Code RAMSES}},
  url          = {{http://dx.doi.org/10.3847/1538-4357/ad98f4}},
  doi          = {{10.3847/1538-4357/ad98f4}},
  volume       = {{978}},
  year         = {{2025}},
}