arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.07206cs.DCcs.CEcs.MS
收藏

在异构体系结构上加速FLAPW方法的计算

Accelerating the computation of FLAPW methods on heterogeneous architectures

Davor Davidović, Diego Fabregat-Traver, Markus Höhnerbach, Edoardo di Napoli

摘要:

计算科学和工程中的遗留代码在为研究人员提供基本功能方面非常成功。然而,他们不能利用新兴的异构体系结构提供的大规模并行性。缺乏可移植的性能和可伸缩性使它们面临很高的风险:要么发展,要么注定要消失。FLEUR是一个电子结构计算软件,它是一个从现代设计中获益匪浅的遗留代码的例子。在以前的工作中,FLEUR的计算瓶颈被部分重新设计为具有依赖于标准构建块(即BLAS和LAPACK)的模块化设计。在本文中,我们演示了初始重新设计如何实现对异构体系结构的可移植性。更具体地说,我们研究了不同的方法来将代码移植到由配备一个或多个协处理器(如Nvidia GPU和Intel Xeon Phis)的多核CPU组成的架构中。我们的最终代码达到了架构峰值性能的70%以上,并且优于Nvidia和Intel的库。最后,在JURECA(FLEUR经常在其中执行的超级计算机)上,代码充分利用了计算节点的全部能力,与单独使用CPU相比,实现了$5\times$加速。

英文摘要:

Legacy codes in computational science and engineering have been very successful in providing essential functionality to researchers. However, they are not capable of exploiting the massive parallelism provided by emerging heterogeneous architectures. The lack of portable performance and scalability puts them at high risk: either they evolve or they are doomed to disappear. One example of legacy code which would heavily benefit from a modern design is FLEUR, a software for electronic structure calculations. In previous work, the computational bottleneck of FLEUR was partially re-engineered to have a modular design that relies on standard building blocks, namely BLAS and LAPACK. In this paper, we demonstrate how the initial redesign enables the portability to heterogeneous architectures. More specifically, we study different approaches to port the code to architectures consisting of multi-core CPUs equipped with one or more coprocessors such as Nvidia GPUs and Intel Xeon Phis. Our final code attains over 70\% of the architectures' peak performance, and outperforms Nvidia's and Intel's libraries. Finally, on JURECA, the supercomputer where FLEUR is often executed, the code takes advantage of the full power of the computing nodes, attaining $5\times$ speedup over the sole use of the CPUs.

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

↑