arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.05329cond-mat.quant-gascs.MSnlin.PSphysics.comp-ph
收藏

求解含时偶极Gross-Pitaevskii方程的OpenMP、OpenMP/MPI和CUDA/MPI C程序

OpenMP, OpenMP/MPI, and CUDA/MPI C programs for solving the time-dependent dipolar Gross-Pitaevskii equation

Vladimir Loncar, Luis E. Young-S., Srdjan Skrbic, Paulsamy Muruganandam, Sadhan K. Adhikari, Antun Balaz

摘要:

我们提出了新版本的先前公布的C和CUDA程序求解偶极Gross-Pitaevskii方程在一个,两个和三个空间维度,计算固定和非固定的解决方案,通过传播在虚或实时。提出的程序是以前程序的改进和并行化版本,根据并行化的类型分为三个包。第一个包包含使用OpenMP的顺序C程序的改进和线程版本。第二个软件包还使用MPI并行化了OpenMP程序的三维变体,允许它们在分布式内存系统上运行。最后,以前的三维CUDA并行程序进一步并行使用MPI,类似的OpenMP程序。我们还提出了使用新版本的程序与以前的顺序C和并行CUDA程序相比,获得的加速比测试结果。对顺序版本的改进产生了1.1到1.9的加速比,具体取决于程序。OpenMP并行化在16核工作站上产生2到12的进一步加速,而OpenMP/MPI版本在使用32个节点的计算机集群上展示了11.5到16.5的加速。CUDA/MPI版本在具有32个节点的计算机集群上显示了9到10的加速比。

英文摘要:

We present new versions of the previously published C and CUDA programs for solving the dipolar Gross-Pitaevskii equation in one, two, and three spatial dimensions, which calculate stationary and non-stationary solutions by propagation in imaginary or real time. Presented programs are improved and parallelized versions of previous programs, divided into three packages according to the type of parallelization. First package contains improved and threaded version of sequential C programs using OpenMP. Second package additionally parallelizes three-dimensional variants of the OpenMP programs using MPI, allowing them to be run on distributed-memory systems. Finally, previous three-dimensional CUDA-parallelized programs are further parallelized using MPI, similarly as the OpenMP programs. We also present speedup test results obtained using new versions of programs in comparison with the previous sequential C and parallel CUDA programs. The improvements to the sequential version yield a speedup of 1.1 to 1.9, depending on the program. OpenMP parallelization yields further speedup of 2 to 12 on a 16-core workstation, while OpenMP/MPI version demonstrates a speedup of 11.5 to 16.5 on a computer cluster with 32 nodes used. CUDA/MPI version shows a speedup of 9 to 10 on a computer cluster with 32 nodes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑