跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

物理学 > 计算物理

arXiv:1811.04384 (physics)
[提交于 2018年11月11日]

标题:Parallelization and implementation of multi-spin Monte Carlo simulation of 2D square Ising model using MPI and C++

作者:Dariush Hassani, Shahnoosh Rafibakhsh
查看论文《Parallelization and implementation of multi-spin Monte Carlo simulation of 2D square Ising model using MPI and C++》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In this paper, we present a parallel algorithm for Monte Carlo simulation of the 2D Ising Model to perform efficiently on a cluster computer using MPI. We use C++ programming language to implement the algorithm. In our algorithm, every process creates a sub-lattice and the energy is calculated after each Monte Carlo iteration. Each process communicates with its two neighbor processes during the job and they exchange the boundary spin variables. Finally, the total energy of lattice is calculated by map-reduce method versus the temperature. We use multi-spin coding technique to reduce the interprocess communications. This algorithm has been designed in a way that an appropriate load-balancing exists and it benefits a good scalability. It has been executed on the cluster computer of Plasma Physics Research Center which includes 9 nodes and each node consists of two quad-core CPUs. Our results show that this algorithm is more efficient for large lattices and more iterations.
主题: 计算物理 (physics.comp-ph)
引用方式: arXiv:1811.04384 [physics.comp-ph]
  (或者 arXiv:1811.04384v1 [physics.comp-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.1811.04384
期刊参考: J Theor Appl Phys (2018) 12: 199
相关 DOI: https://doi.org/10.1007/s40094-018-0301-4

提交历史

来自:Shahnoosh Rafibakhsh
[v1] 2018年11月11日 星期日 10:16:15 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

physics.comp-ph
< 上一篇   |   下一篇 >
最新 | 近期 | 2018-11
切换浏览方式为:
physics

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站