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

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

天体物理学 > 天体物理仪器与方法

arXiv:2409.02294 (astro-ph)
[提交于 2024年9月13日]

标题:Accelerating Fortran Codes: A Method for Integrating Coarray Fortran with CUDA Fortran and OpenMP

作者:James McKevitt, Eduard I. Vorobyov, Igor Kulikov
查看论文《Accelerating Fortran Codes: A Method for Integrating Coarray Fortran with CUDA Fortran and OpenMP》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Fortran's prominence in scientific computing requires strategies to ensure both that legacy codes are efficient on high-performance computing systems, and that the language remains attractive for the development of new high-performance codes. Coarray Fortran (CAF), part of the Fortran 2008 standard introduced for parallel programming, facilitates distributed memory parallelism with a syntax familiar to Fortran programmers, simplifying the transition from single-processor to multi-processor coding. This research focuses on innovating and refining a parallel programming methodology that fuses the strengths of Intel Coarray Fortran, Nvidia CUDA Fortran, and OpenMP for distributed memory parallelism, high-speed GPU acceleration and shared memory parallelism respectively. We consider the management of pageable and pinned memory, CPU-GPU affinity in NUMA multiprocessors, and robust compiler interfacing with speed optimisation. We demonstrate our method through its application to a parallelised Poisson solver and compare the methodology, implementation, and scaling performance to that of the Message Passing Interface (MPI), finding CAF offers similar speeds with easier implementation. For new codes, this approach offers a faster route to optimised parallel computing. For legacy codes, it eases the transition to parallel computing, allowing their transformation into scalable, high-performance computing applications without the need for extensive re-design or additional syntax.
评论: Accepted to the Journal of Parallel and Distributed Computing
主题: 天体物理仪器与方法 (astro-ph.IM); 太阳与恒星天体物理学 (astro-ph.SR); 分布式、并行与集群计算 (cs.DC); 程序设计语言 (cs.PL)
引用方式: arXiv:2409.02294 [astro-ph.IM]
  (或者 arXiv:2409.02294v1 [astro-ph.IM] 对于此版本)
  https://doi.org/10.48550/arXiv.2409.02294
相关 DOI: https://doi.org/10.1016/j.jpdc.2024.104977

提交历史

来自:James McKevitt
[v1] 2024年9月13日 星期五 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

astro-ph.IM
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-09
切换浏览方式为:
astro-ph
astro-ph.SR
cs.DC
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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