中立生物多样性模型的无通信并行仿真
Communication-free and Parallel Simulation of Neutral Biodiversity Models
摘要:
我们提出了一种新的通信自由算法基于个人的概率中性生物多样性模拟。该算法通过牺牲进程间通信的冗余计算,将一个中立的Moran生态系统模型转化为一个并行问题。具体来说,通过精心设计的随机数发生器,驱动模拟,我们安排进化的父-子相互作用建模,而不需要知识的相互作用,其参与者,或处理器正在执行的计算。重要的是,这意味着每个人都可以完全独立地模拟。因此,仿真是完全可再现的,而不管它分布在多少个处理器上。使用我们的新算法,仿真可以(1)拆分成独立的批处理作业,(2)在任何数量的异构机器上进行仿真-所有这些都不会影响仿真结果。我们使用Rust程序设计语言来构建可扩展和静态检查的仿真包$\texttt{necsim-rust}$。我们通过比较三种传统的模拟算法对我们的独立算法的CPU和GPU实现来评估我们的并行化方法。这些实验表明,只要保持一定的局部状态来剔除冗余个体,我们的独立算法是有效的现有的顺序解决方案。GPU实现进一步优于CPU上的所有算法,其系数范围从$\sim 2$到$\sim 80$,这取决于模型参数化和执行的分析。在我们已经研究的并行算法中,我们的独立算法提供了唯一的非近似并行化策略,可以扩展到大型模拟域。
英文摘要:
We present a novel communication-free algorithm for individual-based probabilistic neutral biodiversity simulations. The algorithm transforms a neutral Moran ecosystem model into an embarrassingly parallel problem by trading off inter-process communication at the cost of some redundant computation. Specifically, by careful design of the random number generator that drives the simulation, we arrange for evolutionary parent-child interactions to be modelled without requiring knowledge of the interaction, its participants, or which processor is performing the computation. Critically, this means that every individual can be simulated entirely independently. The simulation is thus fully reproducible irrespective of the number of processors it is distributed over. With our novel algorithm, a simulation can be (1) split up into independent batch jobs and (2) simulated across any number of heterogeneous machines - all without affecting the simulation result. We use the Rust programming language to build the extensible and statically checked simulation package $\texttt{necsim-rust}$. We evaluate our parallelisation approach by comparing three traditional simulation algorithms against a CPU and GPU implementation of our Independent algorithm. These experiments show that as long as some local state is maintained to cull redundant individuals, our Independent algorithm is as efficient as existing sequential solutions. The GPU implementation further outperforms all algorithms on the CPU by a factor ranging from $\sim 2$ to $\sim 80$, depending on the model parameterisation and the analysis that is performed. Amongst the parallel algorithms we have investigated, our Independent algorithm provides the only non-approximate parallelisation strategy that can scale to large simulation domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。