跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

物理学 > 大气与海洋物理

arXiv:2610.12662 (physics)
[提交于 2026年10月8日]

标题:Evaluating LLMs for Translating Legacy Fortran Atmospheric Physics to GPU-Accelerated JAX

作者:Iris Linck, John Dennis, John Schreck, Karen Stengel, David John Gagne II
查看论文《Evaluating LLMs for Translating Legacy Fortran Atmospheric Physics to GPU-Accelerated JAX》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Legacy Fortran physics packages in atmospheric models such as CESM, WRF, and E3SM pose a barrier to GPU modernization, while manual porting requires accelerator-programming expertise. We present LAFT (LLM-Assisted Fortran Translation), an agentic framework for converting Fortran atmospheric physics parameterizations into GPU-accelerated JAX while preserving numerical agreement with the Fortran reference. LAFT coordinates source-code analysis, translation, repair, runtime validation, and performance profiling. It combines a deterministic front end for metadata extraction and bridge generation, structured translation prompts, numerical validation, and profiling-guided feedback to identify inefficient execution patterns. The bridge handles array-layout conversion separately from scientific computation. We evaluate LAFT using the Kessler warm-rain microphysics scheme and four LLMs: Claude, GPT, Gemini, and Qwen. All four validated translations reproduce the Fortran reference outputs to near floating-point precision for the evaluated case, but their GPU performance differs substantially with execution design. The Gemini-generated implementation achieves up to a 357-fold speedup over serial Fortran in cached execution at 1,000,000 atmospheric columns, excluding compilation and host-device transfers. The results demonstrate that numerical agreement alone does not ensure efficient GPU execution and motivate combining numerical validation with hardware-aware performance analysis. LAFT provides a practical workflow for modernizing legacy atmospheric physics code through LLM-assisted translation, deterministic interface generation, automated validation and repair, and reproducible profiling.
评论: 21 pages, 3 figures, Submission to Journal of Advances in Modeling Earth Systems (JAMES) planned
主题: 大气与海洋物理 (physics.ao-ph); 计算物理 (physics.comp-ph)
引用方式: arXiv:2610.12662 [physics.ao-ph]
  (或者 arXiv:2610.12662v1 [physics.ao-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.2610.12662

提交历史

来自:Iris Linck
[v1] 2026年10月8日 星期四 19:32:28 UTC (184 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

physics.ao-ph
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-10
切换浏览方式为:
physics
physics.comp-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站