magnum.np.distributed: accelerating finite difference micromagnetic simulations with multiple GPUs

Micromagnetic simulations are essential tools in nanomagnetism and spintronics research. Although widely adopted solvers like Mumax3 and the Python-native magnum.np use GPU acceleration to improve performance, these tools are limited to single-device computation. In this work, we present, to our knowledge, the first Python-native multi-GPU micromagnetic framework by extending magnum.np with PyTorch Distributed. This leverages high-speed communication and computation across multiple GPUs while retaining the benefits of ease of installation, platform-agnostic design, and compatibility with Python. For computationally intensive demagnetisation effective-field calculations, we achieve a 7.0x speedup on a synthetic benchmark with 42.8M cells across 8 GPUs connected via NVLink, whereas the Halo exchange required for Heisenberg exchange shows limited scalability due to kernel dispatch latency. We also demonstrated the framework’s versatility by achieving a 6.8x speedup in demagnetisation field computation on the CPU with NUMA pinning via the MPI backend of PyTorch Distributed, using a 1M-cell synthetic benchmark. Faster turnaround times will enable researchers to explore larger, more complex systems and accelerate the design cycle for novel spintronic devices. Source code: https://gitlab.com/jedcheng/magnum-np-distributed .

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-07-23
DOI
https://doi.org/10.1038/s41598-026-62507-1
Primary Topic
Magnetic properties of thin films
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

magnum.np.distributed: accelerating finite difference micromagnetic simulations with multiple GPUs

Hiromi Yuasa, Tsz Chung Cheng, Yuichiro Kurokawa
Scientific Reports
Magnetic properties of thin films
article

magnum.np.distributed: accelerating finite difference micromagnetic simulations with multiple GPUs

Hiromi Yuasa, Tsz Chung Cheng, Yuichiro Kurokawa
article en

Abstract

Micromagnetic simulations are essential tools in nanomagnetism and spintronics research. Although widely adopted solvers like Mumax3 and the Python-native magnum.np use GPU acceleration to improve performance, these tools are limited to single-device computation. In this work, we present, to our knowledge, the first Python-native multi-GPU micromagnetic framework by extending magnum.np with PyTorch Distributed. This leverages high-speed communication and computation across multiple GPUs while retaining the benefits of ease of installation, platform-agnostic design, and compatibility with Python. For computationally intensive demagnetisation effective-field calculations, we achieve a 7.0x speedup on a synthetic benchmark with 42.8M cells across 8 GPUs connected via NVLink, whereas the Halo exchange required for Heisenberg exchange shows limited scalability due to kernel dispatch latency. We also demonstrated the framework’s versatility by achieving a 6.8x speedup in demagnetisation field computation on the CPU with NUMA pinning via the MPI backend of PyTorch Distributed, using a 1M-cell synthetic benchmark. Faster turnaround times will enable researchers to explore larger, more complex systems and accelerate the design cycle for novel spintronic devices. Source code: https://gitlab.com/jedcheng/magnum-np-distributed .

Scientific Reports
Kyushu University (JP)
Ministry of Education, Culture, Sports, Science and Technology, Japan Society for the Promotion of Science, Research Institute for Information Technology, Kyushu University
Openalex Percentile: Top 10%
Magnetic properties of thin films
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

magnum.np.distributed: accelerating finite difference micromagnetic simulations with multiple GPUs — Hiromi Yuasa, Tsz Chung Cheng, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS