为解决并行应用程序使用FFTW(Fastest Fourier Transform in the West)并行软件包所面临的计算规模难以扩展、数据结构变动大、实现不同数据结构间通信难度大、接口不确定等问题,在JASMIN框架内设计实现FFT并行解法器.该解法器封装了数据分布存储、数据通信等并行计算细节,通过重新分布存储数据,调用一维FFT变换实现高维FFT的并行计算,并提供规范接口,支撑用户简便地实现FFT的并行计算.数值测试表明,该解法器具有很好的并行性能.该解法器已应用于激光等离子体成丝不稳定性的数值模拟并行程序,它在2048个处理器上的并行效率可达80%以上.
An FFT parallel solver is designed and implemented in JASMIN infrastructure to solve problems,such as computation scale restriction,great change of data structure,different communications among data structures,and arguments' diversity of FFTW functions as using FFTW directly.The solver encapsulates several distributed storages of data,different communications and 1D FFT computations with FFTW.It provides standard functions to users.With this solver FFT parallel computing is realized conveniently.It was used in numerical simulations of laser filament.Scalability was demonstrated with a parallel efficiency above 80% on 2048 processors.