作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (23): 84-86. doi: 10.3969/j.issn.1000-3428.2007.23.029

• 软件技术与数据库 • 上一篇    下一篇

Co-array Fortran编译器的设计与实现

唐沛蓉,黄 春,杨学军,王桂彬   

  1. (国防科技大学计算机学院,长沙 410073)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-05 发布日期:2007-12-05

Design and Implementation of Co-array Fortran Compiler

TANG Pei-rong, HUANG Chun, YANG Xun-jun, WANG Gui-bin   

  1. (School of Computer Science, National University of Defense Technology, Changsha 410073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-05 Published:2007-12-05

摘要: 基于GUN Fortran编译器,设计并实现了co-array Fortran(CAF)编译器。通过源到源的转换将CAF代码转换为带有运行库调用的Fortran 90程序。典型用例的测试表明,CAF具有较好的可编程性,且CAF程序通过对数据分布的显式控制可获得比OpenMP程序更为高效的执行性能。

关键词: co-array Fortran, 映像, 源到源转换

Abstract: This paper presents the design and implementation of the co-array Fortran(CAF)compiler based on GNU Fortran compiler. The CAF compiler translates CAF into Fortran 90 plus calls to runtime library. Typical tests are performed and the results show that CAF has better scalability. CAF gains better performance than OpenMP due to the explicit control on shared data distribution.

Key words: co-array Fortran(CAF), image, source-to-source translation

中图分类号: