Code generation approaches for parallel geometric multigrid solvers

Harald Köstler, Marco Heisig, Nils Kohl, Sebastian Kuckuk, Martin Bauer, Ulrich Rüde
2020 Analele Stiintifice ale Universitatii Ovidius Constanta: Seria Matematica  
AbstractSoftware development for applications in computational science and engineering has become complex in recent years. This is mainly due to the increasing parallelism and heterogeneity in modern computer architectures and to the more realistic physical and mathematical models that have to be processed. One idea to address this issue is to use code generation techniques. In contrast to manual implementations in a general-purpose computing language, they allow to integrate automatic code
more » ... sforms to produce efficient code for different models and platforms. As an example the numerical solution of an elliptic partial differential equation via generated geometric multigrid solvers is considered. We present three code generation approaches for it and discuss their advantages and disadvantages with respect to performance, portability, and productivity.
doi:10.2478/auom-2020-0038 fatcat:rr63bsabc5cbbbcw7eljtr3gzy