Towards Code Generation for Octree-Based Multigrid Solvers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Angersbach, Richard, Kuckuck, Sebastian, Köstler, Harald
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914785246838784
author Angersbach, Richard
Kuckuck, Sebastian
Köstler, Harald
author_facet Angersbach, Richard
Kuckuck, Sebastian
Köstler, Harald
contents This paper presents a novel method designed to generate multigrid solvers optimized for octree-based software frameworks. Our approach focuses on accurately capturing local features within a domain while leveraging the efficiency inherent in multigrid techniques. We outline the essential steps involved in generating specialized kernels for local refinement and communication routines, integrating on-the-fly interpolations to seamlessly transfer information between refinement levels. For this purpose, we established a software coupling via an automatic fusion of generated multigrid solvers and communication kernels with manual implementations of complex octree data structures and algorithms often found in established software frameworks. We demonstrate the effectiveness of our method through numerical experiments with different interpolation orders. Large-scale benchmarks conducted on the SuperMUC-NG CPU cluster underscore the advantages of our approach, offering a comparison against a reference implementation to highlight the benefits of our method and code generation in general.
format Preprint
id arxiv_https___arxiv_org_abs_2403_08063
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Code Generation for Octree-Based Multigrid Solvers
Angersbach, Richard
Kuckuck, Sebastian
Köstler, Harald
Computational Engineering, Finance, and Science
This paper presents a novel method designed to generate multigrid solvers optimized for octree-based software frameworks. Our approach focuses on accurately capturing local features within a domain while leveraging the efficiency inherent in multigrid techniques. We outline the essential steps involved in generating specialized kernels for local refinement and communication routines, integrating on-the-fly interpolations to seamlessly transfer information between refinement levels. For this purpose, we established a software coupling via an automatic fusion of generated multigrid solvers and communication kernels with manual implementations of complex octree data structures and algorithms often found in established software frameworks. We demonstrate the effectiveness of our method through numerical experiments with different interpolation orders. Large-scale benchmarks conducted on the SuperMUC-NG CPU cluster underscore the advantages of our approach, offering a comparison against a reference implementation to highlight the benefits of our method and code generation in general.
title Towards Code Generation for Octree-Based Multigrid Solvers
topic Computational Engineering, Finance, and Science
url https://arxiv.org/abs/2403.08063