# Multi-GPU Acceleration of Interface Problems in FEniCS, with Application to Cardiac Modeling

DevFeed: [Multi-GPU Acceleration of Interface Problems in FEniCS, with Application to Cardiac Modeling](<https://devfeed.tech/articles/multi-gpu-acceleration-of-interface-problems-in-fenics-with-application-to-cardiac-modeling-113826.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03181>)

Author: Edoardo Centofanti, Benjamin Pachev, Joshua Steyer, James D. Trotter, Pietro Benedusi

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [Multi-GPU](<https://devfeed.tech/topics/multi-gpu.md>)

Tags: [22](<https://devfeed.tech/tags/22.md>), [3d](<https://devfeed.tech/tags/3d.md>), [acceleration](<https://devfeed.tech/tags/acceleration.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-ms](<https://devfeed.tech/tags/cs-ms.md>), [cs-na](<https://devfeed.tech/tags/cs-na.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [faster](<https://devfeed.tech/tags/faster.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [math-na](<https://devfeed.tech/tags/math-na.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [multi-gpu](<https://devfeed.tech/tags/multi-gpu.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-software](<https://devfeed.tech/tags/open-source-software.md>), [performance](<https://devfeed.tech/tags/performance.md>), [scale](<https://devfeed.tech/tags/scale.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [source](<https://devfeed.tech/tags/source.md>)

## AI overview

The work extends cuDOLFINx to assemble mixed-dimensional interface problems on GPUs while retaining the high-level FEniCS programming model. With GPU-resident Krylov solvers and algebraic multigrid preconditioning, it runs the cardiac EMI model end to end on GPUs. Tests on regular and realistic 3D cardiac geometries reached 8,000 cells and 22 million degrees of freedom. For assembly, one GH200 node was roughly comparable to two 144-core CPU nodes in strong scaling and two to three in weak scaling, depending on geometry. Solver results varied with geometry, preconditioning and scale: on regular geometry GPU gains appeared mainly at larger sizes and node counts, while on realistic geometry the GPU was faster at all tested scales when both architectures used the same algebraic multigrid preconditioner. The implementation is open source and is described as applicable to other interface-coupled problems.

## Source excerpt

arXiv:2611.03181v1 Announce Type: cross Abstract: GPU acceleration of finite element assembly is well established for standard formulations, but mixed-dimensional problems, in which volumetric subdomains are coupled via lower-dimensional interfaces, remain unsupported in automated frameworks such as FEniCS. We extend cuDOLFINx, a GPU-enabled extension of the DOLFINx finite element framework, to assemble such interface problems on GPUs while preserving the high-level FEniCS programming model. Combined with GPU-resident Krylov solvers and algebraic multigrid preconditioning, this enables end-to-end GPU execution of the EMI (Extracellular--Membrane--Intracellular) model, an elliptic interface problem from cardiac modeling in which many intracellular subdomains are coupled through membranes. We compare the GPU implementation against a CPU-based one through strong and weak scaling experiments on regular and realistic 3D cardiac geometries with up to 8000 cells and 22 million degrees of freedom. In terms of assembly, a single GH200 node is roughly equivalent to two 144-core CPU nodes in strong scaling, and to two to three nodes in weak scaling, depending on geometry. For the linear solver, performance depends on geometry, preconditioning, and problem scale. On the regular geometry, GPU advantages emerge mainly at larger problem sizes and node counts. On the realistic geometry, with the same algebraic multigrid preconditioner for both architectures, the GPU is faster at all tested scales. The implementation is available as open-source software and applies to other problems with interface coupling.