CORTEXA
← Browse
openalexScientific Reports2026-07-23Cited by 0

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

Tsz Chung Cheng, Yuichiro Kurokawa, Hiromi Yuasa

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 .

View free PDFSource page

Related papers

crossrefScientific Reports2026-05-28

Stochastic driver compensation for road gradients across vehicle classes: a machine learning approach

Kai Yuan, Hongye Xing, Weihua Zhang, Rui Jiang, Shixiong Jiang

Abstract Slopes often emerge as traffic bottlenecks, yet not all slopes lead to congestion. The relationship between slope capacity and factors like grade and length is complex and non-linear. Accurately estimating road slope capacity and mitigating traffic congestion remain chal…

View free PDFSource page
openalexScientific Reports2026-07-24

Training a continuous conditional diffusion-based model to simulate horizontal strike-slip ground motions for scenario seismic events

X Jiang, X.Z. Cui, H. P. Hong

Parametric models of the time–frequency-dependent power spectral density (TFPSD) function of seismic ground motion records can be developed from historical records, though model selection involves some subjectivity. The TFPSD function varies complexly in time–frequency domain, wi…

View free PDFSource page
crossrefScientific Reports2026-07-07

A machine learning–based optimal charging strategy for PV-assisted electric vehicle systems incorporating second-life batteries under degradation constraints

Ahmed Ezzat, Ayman S. Abdel-Khalik, Ragi A. Hamdy, Mostafa S. Hamad

Abstract The rapid expansion of electric vehicles (EVs) and residential photovoltaic (PV) systems has created new challenges in battery charging management, particularly due to the variability of renewable energy, grid limitations, and battery aging effects. In this work, we pres…

View free PDFSource page
openalexScientific Reports2026-07-23

Numerical investigation of liquid-Cooled battery thermal management system configurations for a lithium-ion battery pack with experimental validation

Abdelrahman O. Ali, Osama Abdelrehim, Mahmoud M. Saafan, Mohamed R. Elmarghany, Ahmed Hamed

Efficient thermal management is crucial for lithium-ion battery safety and longevity in Electric Vehicles (EVs). This study presents a numerical investigation and experimental validation of liquid cooling strategies for NMC lithium-ion battery modules, comparing serpentine (Confi…

View free PDFSource page
crossrefScientific Reports2026-06-15

Hybrid fusion of E-nose and computer vision using optimized deep learning and machine learning for robust plant leaf recognition

Pouya Bohlol, Mohammad Hasan Sabet Dizavandi, Syed Saeid Mohtasebi, Mahmoud Omid

Abstract The fusion multi-sensory system with optimized deep learning and machine learning algorithms appeared to synergize difficult paradigms in precision agriculture and boost recognition of various plant species. In this study, an electronic nose (E-nose) system with eight MO…

View free PDFSource page
openalexScientific Reports2026-07-24

Weakly supervised attention-based learning supports breast cancer detection on deep ultraviolet-excitation fluorescence images

Ryuta Nakao, Tomoya Matsui, Masatoshi Abe, Mizuki Honda, Osamu Inamori, Ippei Takada, et al.

Abstract Microscopy with ultraviolet surface excitation (MUSE) enables rapid fluorescence imaging of fresh tissue surfaces without conventional sectioning, but its appearance differs from that of haematoxylin and eosin-stained slides. Pixel- or patch-level annotation for deep lea…

View free PDFSource page