SearcharxivSearch

arXiv subjects

Burlen Loring

Publications and source records attributed to Burlen Loring.

3 recordsLinked to original sources

RAMSES-GPU: Cell-by-Cell Adaptive Mesh Refinement with Magneto-Hydrodynamics and Self-Gravity on Graphics Processing Units

We present the implementation and optimization of the cosmological simulation code RAMSES on Graphics Processing Units (GPUs) using CUDA Fortran. This accelerated version ports the main computational routines, including hydrodynamics, particle dynamics, and self-gravity, to multi-GPU architectures. We detail our strategy for managing cell-by-cell Adaptive Mesh Refinement (AMR) on the GPU, utilizing bucket sort with prefix sums for AMR level sorting, radix sort via the CUB library for Hilbert key ordering, and an fnv64 hash table with linear probing for fast spatial indexing. Portability across diverse hardware architectures is achieved via a dispatcher and C-Fortran wrappers, calling CUDA, HIP, and Metal kernels directly translated from the CUDA Fortran framework. Hydrodynamics updates are executed via a Godunov MUSCL-Hancock HLLC Riemann solver managed through a three-tier shared-memory kernel architecture (named rock, paper, and scissor). Particle mass deposition uses Cloud-in-Cell (CIC) interpolation optimized with atomic additions or prefix sums, combined with a kick-drift-kick time integration pusher. Self-gravity is handled via a Multigrid (MG) Poisson solver performing hierarchical V-cycles on individual levels. Performance benchmarks conducted on NVIDIA A100 and H200 GPUs demonstrate substantial accelerations compared to multi-core CPUs, yielding 10x up to a 100x speedup for standard test problems such as the Sedov blast wave, molecular core collapse, and cosmological simulations. Finally, we briefly discuss additional accelerated physics modules, including equilibrium cooling, polytropic equations of state, ideal and non-ideal magneto-hydrodynamics (MHD), and stellar feedback.

astro-ph.IM

Towards a Scalable In Situ Fast Fourier Transform

The Fast Fourier Transform (FFT) is a numerical operation that transforms a function into a form comprised of its constituent frequencies and is an integral part of scientific computation and data analysis. The objective of our work is to enable use of the FFT as part of a scientific in situ processing chain to facilitate the analysis of data in the spectral regime. We describe the implementation of an FFT endpoint for the transformation of multi-dimensional data within the SENSEI infrastructure. Our results show its use on a sample problem in the context of a multi-stage in situ processing workflow.

cs.DC

Extensions to the SENSEI In situ Framework for Heterogeneous Architectures

The proliferation of GPUs and accelerators in recent supercomputing systems, so called heterogeneous architectures, has led to increased complexity in execution environments and programming models as well as to deeper memory hierarchies on these systems. In this work, we discuss challenges that arise in in situ code coupling on these heterogeneous architectures. In particular, we present data and execution model extensions to the SENSEI in situ framework that are targeted at the effective use of systems with heterogeneous architectures. We then use these new data and execution model extensions to investigate several in situ placement and execution configurations and to analyze the impact these choices have on overall performance.

cs.DC