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.
A Hybrid MPI-CUDA Approach for Nonequispaced Discrete Fourier Transformation
非等间距离散傅立叶变换(NDFT)在计算科学和工程中有着广泛的应用。无论是在科学计算的密集型还是广泛型方面,NDFT的计算效率和精度一直是阻碍其广泛应用的关键问题。在我们以前的工作(2018年,S.- C. Yang等人,应用程序计算哈蒙Anal. 44,273),提出了一种基于CUDA(计算统一设备架构)技术的CRFT方法,并且其在中等规模下处理NDFT时表现出出色的性能。在目前的工作中,我们进一步提高了计算效率的CUNTTF方法使用一个有效的MPI-CUDA混合并行化(HP)计划的NFFT,以实现一个前沿的处理NDFT在超扩展规模。该方法根据NDFT的累加特性以及CPU和GPU节点的具体数目,将NDFT的空间域分解为若干部分。这些分解的NDFT子单元使用MPI进程级并行化模式在不同的CPU节点上独立地计算,并且使用CUDA线程级并行化模式和CRFT算法在不同的GPU节点上独立地计算。HP-NFFT方法的大量基准测试表明,该方法在处理超扩展规模的NDFT时,在计算精度不损失的情况下,计算效率有了显着提高。通过计算萤石晶体结构的马德隆常数验证了HP-NFFT方法的有效性,并验证了该方法在分子动力学模拟系统中计算带电离子间静电相互作用的稳健性。
Integrating State of the Art Compute, Communication, and Autotuning Strategies to Multiply the Performance of the Application Programm CPMD for Ab Initio Molecular Dynamics Simulations
turboEELS -- A code for the simulation of the electron energy loss and inelastic X-ray scattering spectra using the Liouville-Lanczos approach to time-dependent density-functional perturbation theory
Hard Simulation Problems in the Modeling of Magnetic Materials: Parallelization and Langevin Micromagnetics
我们提出了最近的结果,在理解和利用大规模模拟的磁性材料的两种尝试。在第一项研究中,我们考虑大规模并行实现的Cray T3 E的n倍的方式算法的磁化切换动力学伊辛模型。我们发现一个复杂的关系之间的平均时间增量和每个处理器上的自旋块的大小。这就缩小了有效执行制度的范围。第二项研究涉及将噪声纳入微磁计算使用朗之万方法。这允许测量诸如系统在给定时间内没有切换的概率之类的量。初步结果报告单域纳米级柱阵列。
turboMagnon -- A code for the simulation of spin-wave spectra using the Liouville-Lanczos approach to time-dependent density-functional perturbation theory
Simulation of 1+1 dimensional surface growth and lattices gases using GPUs
限制固体表面生长模型可以映射到二元晶格气体。我们表明,有效的模拟算法可以实现GPU上的CUDA或OpenCL编程。我们考虑了与非对称简单排除过程相关的1+1维Kardar-Parisi-Zhang生长的沉积/蒸发模型,并表明对于适合GPU共享内存的大小,可以实现最大并行化加速比(对于Quadro FX 5800显卡,相对于2.67 GHz的单个CPU)。这使我们能够研究淬火柱状无序的影响,需要非常长的模拟时间。我们比较CUDA实现OpenCL实现设计的处理器集群通过MPI。实现了一个具有随机转向点的双车道交通模型,并研究了该模型的动力学行为。