Parallelization and implementation of multi-spin Monte Carlo simulation of ۲D square Ising model using MPI and C++

سال انتشار: 1397
نوع سند: مقاله ژورنالی
زبان: انگلیسی
مشاهده: 102

فایل این مقاله در 10 صفحه با فرمت PDF قابل دریافت می باشد

استخراج به نرم افزارهای پژوهشی:

لینک ثابت به این مقاله:

شناسه ملی سند علمی:

JR_JTAP-12-3_006

تاریخ نمایه سازی: 24 بهمن 1400

چکیده مقاله:

AbstractIn this paper, we present a parallel algorithm for Monte Carlo simulation of the ۲D 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 inter-process communications. This algorithm has been designed in a way that an appropriate load-balancing and good scalability exist. It has been executed on the cluster computer of Plasma Physics Research Center which includes ۹ 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.

کلیدواژه ها:

نویسندگان

- -

Department of Physics, Science and Research Branch, Islamic Azad University

- -

Department of Physics, Science and Research Branch, Islamic Azad University