Sym4state.jl: An efficient computation package for magnetic materials

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2024-06-14 DOI:10.1016/j.cpc.2024.109283
Guolin Wan , Yuhui Li , Ting Lai , Peixuan Li , Yongqian Zhu , Jingyu Yang , Yan-Fang Zhang , Jinbo Pan , Shixuan Du
{"title":"Sym4state.jl: An efficient computation package for magnetic materials","authors":"Guolin Wan ,&nbsp;Yuhui Li ,&nbsp;Ting Lai ,&nbsp;Peixuan Li ,&nbsp;Yongqian Zhu ,&nbsp;Jingyu Yang ,&nbsp;Yan-Fang Zhang ,&nbsp;Jinbo Pan ,&nbsp;Shixuan Du","doi":"10.1016/j.cpc.2024.109283","DOIUrl":null,"url":null,"abstract":"<div><p>Exploring magnetic configurations of magnets often involves utilizing the four-state method to obtain the magnetic interaction matrix, and Monte Carlo method to simulate spin textures and phase transition processes. However, computing the interaction matrix between magnetic atoms using the four-state method requires plenty of individual calculations. Despite manual simplifying the number of individual calculations based on material's symmetry is possible, there remains a necessity for an automated approach to streamline the process for high-throughput screening of magnetic materials. Meanwhile, the traditional sequential Monte Carlo simulation encounters challenges of low efficiency and long time consuming in dealing with large systems. Furthermore, the prior parallelism in the Heisenberg model was limited to parallel computation of the system's energy or run several replicas in parallel. Hence, in our pursuit of comprehensive parallelization for the Heisenberg model, we have introduced a novel adaptation of the checkerboard algorithm, enabling a fully parallelizable simulation of the Heisenberg model. To address these problems, we have developed <span>Sym4state.jl</span>, a program specifically designed to simplify the computation of magnetic interaction matrix and simulate spin textures under various environmental conditions. This program, available as a Julia package, can be freely accessed at <span>https://github.com/A-LOST-WAPITI/Sym4state.jl</span><svg><path></path></svg>.</p></div><div><h3>Program summary</h3><p><em>Program title:</em> Sym4state.jl</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/s6dkmgrjfw.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/A-LOST-WAPITI/Sym4state.jl</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> MIT</p><p><em>Programming language:</em> Julia</p><p><em>Nature of problem:</em> Employing the four-state method to calculate magnetic interaction matrix for magnetic materials can be simplified based on material symmetry, however, there is a lack of automated approach to streamline the simplification. Additionally, the commonly used Metropolis method for simulating magnetic texture can only make parallel computation of the system's energy or run several replicas in parallel, which could hardly boost the performance when simulating the large-scale magnetic textures.</p><p><em>Solution method:</em> We simplify the four-state method calculations by utilizing the principles of energy invariance under symmetry operations and time reversal operations. To enhance the efficiency of the Metropolis algorithm, we have designed a strategy to divide the entire 2D lattice into multiple domains. We then execute the Metropolis algorithm in parallel for each individual domain, thereby improving the overall computational efficiency.</p><p><em>Additional comments including restrictions and unusual features:</em> While the methods aimed at simplifying the four-state method and parallelizing the Metropolis algorithm are applicable to both 2D and 3D systems, the current program is specifically designed for the calculation and simulation of magnetism in 2D materials. As a result, compatibility with 3D systems has not yet been implemented.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-06-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524002066","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Exploring magnetic configurations of magnets often involves utilizing the four-state method to obtain the magnetic interaction matrix, and Monte Carlo method to simulate spin textures and phase transition processes. However, computing the interaction matrix between magnetic atoms using the four-state method requires plenty of individual calculations. Despite manual simplifying the number of individual calculations based on material's symmetry is possible, there remains a necessity for an automated approach to streamline the process for high-throughput screening of magnetic materials. Meanwhile, the traditional sequential Monte Carlo simulation encounters challenges of low efficiency and long time consuming in dealing with large systems. Furthermore, the prior parallelism in the Heisenberg model was limited to parallel computation of the system's energy or run several replicas in parallel. Hence, in our pursuit of comprehensive parallelization for the Heisenberg model, we have introduced a novel adaptation of the checkerboard algorithm, enabling a fully parallelizable simulation of the Heisenberg model. To address these problems, we have developed Sym4state.jl, a program specifically designed to simplify the computation of magnetic interaction matrix and simulate spin textures under various environmental conditions. This program, available as a Julia package, can be freely accessed at https://github.com/A-LOST-WAPITI/Sym4state.jl.

Program summary

Program title: Sym4state.jl

CPC Library link to program files: https://doi.org/10.17632/s6dkmgrjfw.1

Developer's repository link: https://github.com/A-LOST-WAPITI/Sym4state.jl

Licensing provisions: MIT

Programming language: Julia

Nature of problem: Employing the four-state method to calculate magnetic interaction matrix for magnetic materials can be simplified based on material symmetry, however, there is a lack of automated approach to streamline the simplification. Additionally, the commonly used Metropolis method for simulating magnetic texture can only make parallel computation of the system's energy or run several replicas in parallel, which could hardly boost the performance when simulating the large-scale magnetic textures.

Solution method: We simplify the four-state method calculations by utilizing the principles of energy invariance under symmetry operations and time reversal operations. To enhance the efficiency of the Metropolis algorithm, we have designed a strategy to divide the entire 2D lattice into multiple domains. We then execute the Metropolis algorithm in parallel for each individual domain, thereby improving the overall computational efficiency.

Additional comments including restrictions and unusual features: While the methods aimed at simplifying the four-state method and parallelizing the Metropolis algorithm are applicable to both 2D and 3D systems, the current program is specifically designed for the calculation and simulation of magnetism in 2D materials. As a result, compatibility with 3D systems has not yet been implemented.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Sym4state.jl:磁性材料的高效计算软件包
探索磁体的磁性构型通常需要利用四态法获得磁相互作用矩阵,并利用蒙特卡洛法模拟自旋纹理和相变过程。然而,利用四态法计算磁性原子之间的相互作用矩阵需要进行大量的单独计算。尽管可以根据材料的对称性手动简化单个计算的数量,但仍然需要一种自动化方法来简化磁性材料的高通量筛选过程。与此同时,传统的顺序蒙特卡罗模拟在处理大型系统时会遇到效率低、耗时长的挑战。此外,海森堡模型之前的并行性仅限于并行计算系统的能量或并行运行多个副本。因此,为了实现海森堡模型的全面并行化,我们引入了一种新颖的棋盘算法,实现了海森堡模型的完全并行模拟。为了解决这些问题,我们开发了 Sym4state.jl,这是一个专门用于简化磁相互作用矩阵计算和模拟各种环境条件下自旋纹理的程序。该程序以 Julia 软件包的形式提供,可在 https://github.com/A-LOST-WAPITI/Sym4state.jl.Program 网站上免费获取摘要程序标题:Sym4state.jlCPC 库程序文件链接:https://doi.org/10.17632/s6dkmgrjfw.1Developer's repository 链接:https://github.com/A-LOST-WAPITI/Sym4state.jlLicensing provisions:MIT 编程语言:问题性质:采用四态法计算磁性材料的磁相互作用矩阵可以根据材料的对称性进行简化,但是缺乏简化的自动化方法。此外,常用的 Metropolis 方法在模拟磁纹理时只能并行计算系统能量或并行运行多个副本,这在模拟大规模磁纹理时很难提高性能:求解方法:我们利用对称运算和时间反转运算下的能量不变性原理,简化了四态法计算。为了提高 Metropolis 算法的效率,我们设计了一种将整个二维晶格划分为多个域的策略。然后,我们对每个单独的域并行执行 Metropolis 算法,从而提高了整体计算效率:虽然旨在简化四态法和并行化 Metropolis 算法的方法适用于二维和三维系统,但目前的程序是专门为计算和模拟二维材料的磁性而设计的。因此,尚未实现与三维系统的兼容。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
An adaptive preconditioning scheme for the self-consistent field iteration and generalized stacking fault energy calculations YADE - An extensible framework for the interactive simulation of multiscale, multiphase, and multiphysics particulate systems Multilevel Schur-complement algorithms for scalable parallel reservoir simulation with temperature variation PM2D: A parallel GPU-based code for the kinetic simulation of laser plasma instabilities at large scales Change point detection of events in molecular simulations using dupin
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1