A Heterogeneous CPU-GPU Framework for Finite Element Micromagnetic Simulations on Tetrahedral Meshes
Zekai Zheng, Zixuan Cui, Guanghui Hu
Abstract
The design of magnetic storage materials relies on repeated micromagnetic simulations. Within each simulation, the demagnetization field evaluation and the sparse linear solve are executed at every time step and together dominate the computational cost. To address these bottlenecks, we develop a heterogeneous CPU-GPU framework that exploits the complementary computational capabilities of the two processors. In the existing AFEMAG solver, developed by Yang et al [J. Comput. Phys. 431 (2021) 110142], computationally intensive boundary integral evaluations and sparse linear solves limit performance. We offload these operations to the GPU while retaining assembly and iteration control on the CPU. We validate the framework using cases from all five μMag standard problems, covering quasistatic hysteresis, equilibrium configurations, field-driven dynamics, and spin-transfer-torque dynamics. This approach accelerates simulations across the benchmark suite; notably, for Standard Problem 3 on a mesh of 137,313 nodes, augmenting the CPU with one NVIDIA A100 GPU yields a 17.1× speedup over the CPU-only configuration. The heterogeneous AFEMAG framework thus provides an efficient and practical platform for micromagnetic simulations in the design of magnetic storage materials.
Create a lesson
Related papers
A Quantum Genetic Algorithm for Optimization of Benchmark Test Functions using Entangled Qutrits
Muhammad Farooq, Mehrosh Talat
A branch-free three-dimensional ghost-cell immersed boundary method with direction-averaged extrapolation kernels
Itsuki Takarabe, Ryuto Saeki, Koji Fukagata
Scalable Non-Parametric Bayesian Inference of Free Energy Landscapes and Emission Functions from Observations
Eliane Briand, Helmut Grubmüller
The state of nuclear data for fusion activation simulations
Jonathan Shimwell
Mesh Sensitivity of Different Boundary Treatments in High-Order Compact Gas-Kinetic Scheme for Hypersonic Heat-Flux Prediction
Xingyi Jiang, Jiawang Zhang, Junlei Mu et al.
Real-space electrostatic sums through truncation error analysis
Chuin Wei Tan, William C. Witt, Boris Kozinsky