Resumo: | This paper presents strategies to parallelize a previously implemented kinetic Monte Carlo (kMC) algorithm. The process under simulation is the precipitation in an aluminum scandium alloy. The selected parallel algorithm is called synchronous parallel kinetic Monte Carlo (spkMC). spkMC was implemented with a distributed memory architecture and using the Message Passing Interface (MPI) communication protocol. In spkMC the different processes synchronize at regular points, called end of sprint. During a sprint there is no interaction among processes. A checker board scheme was adopted to avoid possible conflicts among processes during each sprint. To optimize performance different implementations were explored, each one with a different computation vs. communication strategy. The obtained results prove that a rigorous distributed and parallel implementation reproduces accurately the statistical behavior observed with the sequential kMC. Results also prove that simulation time can be reduced with a distributed parallelization but, due to the non-deterministic nature of kMC, significant and scalable gains in parallelization oblige to introduce some simplifications and approximations.
|