面向平面波密度泛函理论代码的灵活多维FFT
Flexible Multi-Dimensional FFTs for Plane Wave Density Functional Theory Codes
AI总结:
本文提出分布式框架FFTB,为平面波密度泛函理论等应用中球体批次数据上的多维FFT提供灵活实现,支持规则/非规则网格、批处理/非批处理变换及CPU/GPU平台,并在HP Cray EX上验证了执行时间与可扩展性提升。
摘要:
多维傅里叶变换是关键数学构建模块,广泛出现在材料科学、物理学、化学乃至机器学习等众多应用中。过去几年,涌现了大量针对分布式多维傅里叶变换的软件包。大多数变体试图为映射到矩形网格上的数据提供单次变换的高效实现。然而,并非所有科学应用都符合这一模式,例如平面波密度泛函理论代码需要对表示为球体批次的数据执行多维傅里叶变换。通常,针对这一用例的实现是手工编码的,并针对每个应用的需求进行定制。在这项工作中,我们提出了来自伯克利的FFTB,这是一个分布式框架,为规则/非规则数据网格以及批处理/非批处理变换提供灵活实现。我们提供了具有用户友好API的灵活实现,能够覆盖大多数用例。此外,我们提供了CPU和GPU平台的实现,表明我们的方法在HP Cray EX超级计算机上改善了执行时间和可扩展性。另外,我们概述了针对该软件包不同用例的灵活实现需求。
英文摘要:
Multi-dimensional Fourier transforms are key mathematical building blocks that appear in a wide range of applications from materials science, physics, chemistry and even machine learning. Over the past years, a multitude of software packages targeting distributed multi-dimensional Fourier transforms have been developed. Most variants attempt to offer efficient implementations for single transforms applied on data mapped onto rectangular grids. However, not all scientific applications conform to this pattern, i.e. plane wave Density Functional Theory codes require multi-dimensional Fourier transforms applied on data represented as batches of spheres. Typically, the implementations for this use case are hand-coded and tailored for the requirements of each application. In this work, we present the Fastest Fourier Transform from Berkeley (FFTB) a distributed framework that offers flexible implementations for both regular/non-regular data grids and batched/non-batched transforms. We provide a flexible implementations with a user-friendly API that captures most of the use cases. Furthermore, we provide implementations for both CPU and GPU platforms, showing that our approach offers improved execution time and scalability on the HP Cray EX supercomputer. In addition, we outline the need for flexible implementations for different use cases of the software package.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。