November 23, 2026
MHDuet is a computational code designed to solve the equations of general relativity for studying the dynamics of neutron stars and other complex astrophysical scenarios. This project required dedicated RSE support to address challenges such as excessive build times, and unexpected artefacts in long running simulations.
MHDuet code is auto-generated by the Simflowny platform from high-level specifications, enabling rapid development of sophisticated simulation software. This update introduced support for the AMReX mesh library, allowing MHDuet to run efficiently on GPU architectures. Benchmarking on high-performance computing (HPC) systems demonstrates an order-of-magnitude speedup for multi-GPU simulations compared to equivalent multi-CPU runs, while maintaining high accuracy.
Solution
The RSE support allocated to this project addressed challenges arising during the transition from CPU to GPU execution. Key issues included excessively long build times, even for small simulations, and the appearance of numerical artefacts in simulation results during long runs. Our work reduced build times to a reasonable length and resolved deeply nested bugs responsible for the simulation artefacts, restoring reliability and accuracy.
We also supported the project's requirement to run large-scale simulation experiments across multiple HPC clusters with varying hardware configurations and software environments, developing a robust, portable workflow that enabled consistent execution across systems and facilitated running large simulations on CPU and GPU over a wide range of problem sizes.
Links
Comments
No comments yet — be the first to comment.
