fortran66のブログ

fortran について書きます。

【ニュース】gfortran10 の新機能他

Gfortran v10.1

ニュースによりますと、「GNU Compiler Collection」v10.1 が出たようなので、新機能を見に行きました。 forest.watch.impress.co.jp

gcc.gnu.org 新機能で注目すべきは、OpenACC や OpenMP v.5 の導入によって GPU 対応が進んでいることだと思います。どの程度の性能なのか、そのうちベンチマークが出るでしょう。15年ぶりくらいに AMD 機が欲しい気持ち?Raspberry Pi4 64bit で ARM のコンパイラも試してみたい気持ちも?

その他、文法対応状況的にはあまり進展なし?

New Languages and Language-Specific Improvements

Version 2.6 of the OpenACC specification is now supported in the C, C++ and Fortran compilers. See the implementation status section on the OpenACC wiki page and the run-time library documentation for further information.

GCC 10 adds a number of newly implemented OpenMP 5.0 features on top of the GCC 9 release such as conditional lastprivate clause, scan and loop directives, order(concurrent) and use_device_addr clauses support, if clause on simd construct or partial support for the declare variant directive, getting closer to full support of the OpenMP 5.0 standard.

OpenMP and OpenACC now support offloading to AMD Radeon (GCN) GPUs; supported are the third-generation Fiji (fiji) and the fifth-generation VEGA 10/VEGA 20 (gfx900 or gfx906).

Fortran の項目より

use_device_addr of version 5.0 of the OpenMP specification is now supported.

アルゴンヌの次期スパコンの開発環境

www.hpcwire.com この記事長くて字が小さくて読む気がしなかったのですが、Ando さんのまとめがありました。 たしかハードウェアはインテルの新規GPUとか初物ばかりを集めて造る奴で、失敗しそうな感じがプンプンと漂っていますが、GPU 利用は data parallel C++ や Open/MP でいくようです。 CUDA ソフトは機械に書き直させるようです。

責任者の悪魔みたいな人は、C++おじさんで YouTube に講演が上がっていますが Fortran に冷たそうw

andosprocinfo.web.fc2.com

  2020年5月8日のHPC Wireが,Argonne国立研究所のコンパイラテクノロジとプログラム言語チームのリードを務めるHal Finkel氏のIWOCL/SYCLcon 2020での基調講演についての記事を載せています。

  プログラムの構造はMPIでノード間の処理分散を行い,ノード内の並列化はOpenMPを使います。CUDAで書かれたプログラムはツールでOpenMPに変換します。Fortranのプログラムも多いので,これらはOpenMPで並列化します。