arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.04702astro-ph.IMastro-ph.GA
收藏

SKIRT:辐射转移模拟的混合并行化

SKIRT: hybrid parallelization of radiative transfer simulations

Sam Verstocken, Dries Van De Putte, Peter Camps, Maarten Baes

摘要:

我们描述的设计,实施和性能的新的混合并行方案在我们的蒙特卡罗辐射转移程序SKIRT,已被广泛用于模拟尘埃天体物理系统,包括晚型星系和尘埃环面的连续辐射。该混合方案结合了分布式内存并行化,使用标准的消息传递接口(MPI)在进程之间进行通信,以及共享内存并行化,在每个进程内提供多个执行线程以避免数据结构的重复。多个线程之间的同步是通过原子操作完成的,而不需要高级锁定(也称为无锁编程)。这改善了代码的缩放行为,并大大简化了混合方案的实现。其结果是一个非常灵活的解决方案,可以根据可用节点、处理器和内存的数量进行调整,从而在各种计算架构上都能表现良好。

英文摘要:

We describe the design, implementation and performance of the new hybrid parallelization scheme in our Monte Carlo radiative transfer code SKIRT, which has been used extensively for modeling the continuum radiation of dusty astrophysical systems including late-type galaxies and dusty tori. The hybrid scheme combines distributed memory parallelization, using the standard Message Passing Interface (MPI) to communicate between processes, and shared memory parallelization, providing multiple execution threads within each process to avoid duplication of data structures. The synchronization between multiple threads is accomplished through atomic operations without high-level locking (also called lock-free programming). This improves the scaling behavior of the code and substantially simplifies the implementation of the hybrid scheme. The result is an extremely flexible solution that adjusts to the number of available nodes, processors and memory, and consequently performs well on a wide variety of computing architectures.

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

↑