arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1912.11717physics.comp-phphysics.flu-dyn
收藏

时变偏微分方程并行求解器的算法微分伴随计算

Adjoint computations by algorithmic differentiation of a parallel solver for time-dependent PDEs

J. I. Cardesa, L. Hascoët, C. Airiau

摘要:

计算流体动力学代码在切线模式和伴随模式下使用算法微分(AD)进行微分。本方法的两个新颖性是1)通过让AD工具Tapenade反转消息传递接口(MPI)通信的完整层来获得伴随代码,以及2)伴随代码将时间依赖的、非线性的和耗散的(因此物理上不可逆的)PDE与运行ca的显式时间积分循环集成。$10^{6}$时间步长。该方法依赖于使用Adjoinable MPI库来反转原始代码中的非阻塞通信模式,并通过使用二项式检查点控制时间步进循环引起的内存开销。必要的代码修改的描述提供了与计算的衍生物和性能比较的切线和伴随代码的验证。

英文摘要:

A computational fluid dynamics code is differentiated using algorithmic differentiation (AD) in both tangent and adjoint modes. The two novelties of the present approach are 1) the adjoint code is obtained by letting the AD tool Tapenade invert the complete layer of message passing interface (MPI) communications, and 2) the adjoint code integrates time-dependent, non-linear and dissipative (hence physically irreversible) PDEs with an explicit time integration loop running for ca. $10^{6}$ time steps. The approach relies on using the Adjoinable MPI library to reverse the non-blocking communication patterns in the original code, and by controlling the memory overhead induced by the time-stepping loop with binomial checkpointing. A description of the necessary code modifications is provided along with the validation of the computed derivatives and a performance comparison of the tangent and adjoint codes.

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

↑