LightAMR format standard and lossless compression algorithms for adaptive mesh refinement grids: RAMSES use case
arXiv:2208.11958 · doi:10.1016/j.jcp.2022.111577
Abstract
The evolution of parallel I/O library as well as new concepts such as 'in transit' and 'in situ' visualization and analysis have been identified as key technologies to circumvent I/O bottleneck in pre-exascale applications. Nevertheless, data structure and data format can also be improved for both reducing I/O volume and improving data interoperability between data producer and data consumer. In this paper, we propose a very lightweight and purpose-specific post-processing data model for AMR meshes, called lightAMR. Based on this data model, we introduce a tree pruning algorithm that removes data redundancy from a fully threaded AMR octree. In addition, we present two lossless compression algorithms, one for the AMR grid structure description and one for AMR double/single precision physical quantity scalar fields. Then we present performance benchmarks on RAMSES simulation datasets of this new lightAMR data model and the pruning and compression algorithms. We show that our pruning algorithm can reduce the total number of cells from RAMSES AMR datasets by 10-40% without loss of information. Finally, we show that the RAMSES AMR grid structure can be compacted by ~ 3 orders of magnitude and the float scalar fields can be compressed by a factor ~ 1.2 for double precision and ~ 1.3 - 1.5 in single precision with a compression speed of ~ 1 GB/s.
arXiv comment11 pages, 7 figures, accepted for publication in Journal of Computational Physics
References in corpus (10)
- Cosmological Hydrodynamics with Adaptive Mesh Refinement: a new high resolution code called RAMSES
- Enzo: An Adaptive Mesh Refinement Code for Astrophysics
- Fully Threaded Tree for Adaptive Refinement Fluid Dynamics Simulations
- A simple multigrid scheme for solving the Poisson equation with arbitrary domain boundaries
- Full-Sky Weak Lensing Simulation with 70 Billion Particles
- GAMER-2: a GPU-accelerated adaptive mesh refinement code -- accuracy, performance, and scalability
- The FRIGG project: From intermediate galactic scales to self-gravitating cores
- The core and stellar mass functions in massive collapsing filaments
- Formation of compact galaxies in the Extreme-Horizon simulation
- Boosting I/O and visualization for exascale era using Hercule: test case on RAMSES