Accelerating micromagnetic and atomistic simulations using multiple GPUs

加速 计算科学 计算机科学 并行计算 缩放比例 自旋(空气动力学) 蒙特卡罗方法 计算物理学 物理 几何学 数学 热力学 统计
作者
Serban Lepadatu
出处
期刊:Journal of Applied Physics [American Institute of Physics]
卷期号:134 (16) 被引量:4
标识
DOI:10.1063/5.0172657
摘要

It is shown that micromagnetic and atomistic spin dynamics simulations can use multiple graphical processing units (GPUs) not only to reduce computation time but also to allow for a larger simulation size than is possible on a single GPU. While interactions that depend on neighboring spins, such as exchange interactions, may be implemented efficiently by transferring data between GPUs using halo regions or direct memory accesses, implementing the long-range demagnetizing interaction is the main difficulty in achieving good performance scaling, where the data transfer rate between GPUs is a significant bottleneck. A multi-GPU convolution algorithm is developed here, which relies on single-GPU FFTs executed in parallel. It is shown that even for micromagnetic simulations where the demagnetizing interaction computation time dominates, good performance scaling may be achieved, with speedup factors up to 1.8, 2.5, and 3.1, for two, three, and four GPUs, respectively. The code developed here can be used for any number of GPUs in parallel, with performance scaling strongly dependent on the inter-GPU data transfer rate and connection topology. This is further improved in micromagnetic simulations, which include a spin transport solver, obtaining speedup factors up to 1.96, 2.8, and 3.7, for two, three, and four GPUs, respectively. The best case scenario is obtained for atomistic simulations, where the demagnetizing interaction is implemented with spin-averaged cells. Using a single workstation with four GPUs, it is shown that atomistic spin dynamics simulations with up to 1 × 109 spins and atomistic Monte Carlo simulations with up to 2 × 109 spins are possible, with near-ideal performance scaling.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小蘑菇应助wuqi采纳,获得10
刚刚
strike应助无语采纳,获得20
1秒前
mmccc1完成签到,获得积分20
3秒前
小SU哥完成签到,获得积分10
3秒前
陈陈完成签到,获得积分10
3秒前
hobi完成签到 ,获得积分10
3秒前
4秒前
上官若男应助25采纳,获得10
4秒前
Xin发布了新的文献求助10
5秒前
共享精神应助科研通管家采纳,获得10
10秒前
lqx完成签到,获得积分10
10秒前
orixero应助科研通管家采纳,获得30
10秒前
CodeCraft应助科研通管家采纳,获得10
10秒前
Akim应助科研通管家采纳,获得10
10秒前
流星雨发布了新的文献求助10
10秒前
共享精神应助科研通管家采纳,获得10
10秒前
xjcy应助科研通管家采纳,获得10
10秒前
充电宝应助科研通管家采纳,获得10
10秒前
xjcy应助科研通管家采纳,获得10
10秒前
xjcy应助科研通管家采纳,获得10
10秒前
xjcy应助科研通管家采纳,获得10
10秒前
11秒前
12秒前
zdjzdj发布了新的文献求助10
12秒前
qingwenwei应助Sea_U采纳,获得10
14秒前
Dester驳回了青松应助
14秒前
llll完成签到,获得积分20
15秒前
15秒前
鱼鱼鱼鱼完成签到,获得积分10
15秒前
乌日汗完成签到,获得积分10
16秒前
17秒前
小法师发布了新的文献求助10
17秒前
吱哦周完成签到,获得积分10
20秒前
Seven发布了新的文献求助10
21秒前
青羽落霞发布了新的文献求助10
21秒前
22秒前
我是老大应助光亮的鹭洋采纳,获得10
23秒前
24秒前
orixero应助罗lsz采纳,获得10
24秒前
24秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Organometallic Chemistry of the Transition Metals 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
全相对论原子结构与含时波包动力学的理论研究--清华大学 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6441901
求助须知:如何正确求助?哪些是违规求助? 8255853
关于积分的说明 17579255
捐赠科研通 5500618
什么是DOI,文献DOI怎么找? 2900336
邀请新用户注册赠送积分活动 1877230
关于科研通互助平台的介绍 1717101