用于模拟硬型材的可扩展Metropolis Monte Carlo
Scalable Metropolis Monte Carlo for simulation of hard shapes
摘要:
我们设计并实现了一个可扩展的硬粒子蒙特卡罗模拟工具包HPMC,并将其作为HOOMD-blue的一部分开源发布。HPMC使用域分解在多个CPU和多个GPU上并行运行。我们采用BVH树,而不是细胞列表的CPU上的快速性能,特别是与大颗粒大小的差异,并优化内部循环与SIMD向量固有的CPU上。我们的GPU内核在棋盘上并行地提出了许多尝试移动,并使用块级队列在线程之间重新分配工作并避免发散。HPMC支持各种形状类别,包括球体/圆盘、球体的并集、凸多边形、凸球多面体、凹多边形、椭圆体/椭圆、凸多面体、凸球多面体、被平面切割的球体和凹多面体。NVT和NPT集成可以在2D或3D三斜箱中运行。附加的积分方案允许Frenkel-Ladd自由能计算和隐式消耗模拟。在4096个五边形流体的基准系统中,HPMC在XSEDE Comet上的96个CPU核心上在10分钟内执行1000万次扫描。同样的模拟需要连续7.6小时。HPMC还可以扩展到大型系统尺寸,在OLCF Titan上的2048个GPU上运行1680万个粒子的相同基准测试仅需1.4小时。
英文摘要:
We design and implement HPMC, a scalable hard particle Monte Carlo simulation toolkit, and release it open source as part of HOOMD-blue. HPMC runs in parallel on many CPUs and many GPUs using domain decomposition. We employ BVH trees instead of cell lists on the CPU for fast performance, especially with large particle size disparity, and optimize inner loops with SIMD vector intrinsics on the CPU. Our GPU kernel proposes many trial moves in parallel on a checkerboard and uses a block-level queue to redistribute work among threads and avoid divergence. HPMC supports a wide variety of shape classes, including spheres / disks, unions of spheres, convex polygons, convex spheropolygons, concave polygons, ellipsoids / ellipses, convex polyhedra, convex spheropolyhedra, spheres cut by planes, and concave polyhedra. NVT and NPT ensembles can be run in 2D or 3D triclinic boxes. Additional integration schemes permit Frenkel-Ladd free energy computations and implicit depletant simulations. In a benchmark system of a fluid of 4096 pentagons, HPMC performs 10 million sweeps in 10 minutes on 96 CPU cores on XSEDE Comet. The same simulation would take 7.6 hours in serial. HPMC also scales to large system sizes, and the same benchmark with 16.8 million particles runs in 1.4 hours on 2048 GPUs on OLCF Titan.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。