We discuss the computational bottlenecks in molecular dynamics (MD) and describe the challenges in parallelizing the computation intensive tasks. We present a hybrid algorithm using MPI (Message Passing Interface) with OpenMP threads for parallelizing a generalized MD computation scheme for systems with short range interatomic interactions. The algorithm is discussed in the context of nanoindentation of Chromium films with carbon indenters using the Embedded Atom Method potential for Cr Cr interaction and the Morse potential for Cr C interactions. We study the performance of our algorithm for a range of MPIthread combinations and find the performance to depend strongly on the computational task and load sharing in the multicore processor. The algorithm scaled poorly with MPI and our hybrid schemes were observed to outperform the pure message passing scheme, despite utilizing the same number of processors or cores in the cluster. Speed-up achieved by our algorithm compared favourably with that achieved by standard MD packages.
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
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方法的有效性,并验证了该方法在分子动力学模拟系统中计算带电离子间静电相互作用的稳健性。