fortran66のブログ

fortran について書きます。

【メモ帳】今年度の intel fortran beta は oneAPI toolkit で

Intel® Fortran Compiler 2021.1.1 beta8

The Intel® Fortran Compiler IFORT (BETA) in the Intel® oneAPI HPC Toolkit beta release includes a full implementation of the Fortran 2018 standard, except for the REDUCE intrinsic. However, these features are not available when using the -qnextgen compiler option to IFORT or when using the IFX compiler driver.

The IFORT (BETA) compiler in the Intel® oneAPI HPC Toolkit is the next major release of our Fortran compiler ifort front-end. We are not running a formal beta-test program for ifort in 2020 like we have in past years. This beta08 release is an update to our first reveal that was in beta07. So we invite you to test this new ifort in the Intel® oneAPI HPC Toolkit, try the new features, and give us feedback to help improve our Intel® Fortran Compiler.

強調部分は私のつけたもの。

software.intel.com

例年春から秋に行われる風物詩、Intel fortran beta テストですが、今年は始まらないのでコロナのせいか oneAPI のせいかと思っていましたが、少しばかり前から oneAPI beta の一環として HPC tools の一部として始まっていたようです。

なお oneAPI の方が登録なども簡便で、例年より楽です。

oneAPI beta 自体はかなり前から行われていましたが、Fortran コンパイラに関しては現行のものが提供されていたので謎に思っていましたが、oneAPI beta 7 当たりから次期 Fortran コンパイラの beta が提供されていたようです。八月に入って beta 8 になりましたが Fortran に関しては大きな変化はないようです。

文法水準では、早くも Fortran 2018 水準にほぼ全対応している模様です。2008 水準まではあらゆる処理系で規格に追いつくのが遅かったですが、2018 は比較的小規模な改定だったので早かったようです。(coarray は結構拡張しましたが)

主要命令ではユーザ定義型の配列 reduction 関数だけがまだのようです。(sum とか product 類似の自作版用)

The Intel® Fortran Compiler supports full Fortran 2008 standard and most features from the Fortran 2018 standard. New Fortran 2018 features supported by the current version are listed in the 'New features from Fortran 2018' section.

finalization 処理に曖昧さがありましたが F2018 で解消されたらしく、それに則ったようです。 intel fortran と gfortran で finalization の挙動に差があって、怖くて使えない感じでしたが、解決していればうれしいです。(まだ確かめていない)

Deallocation during finalization has been clarified and now occurs using the semantics defined in Fortran 2018.

インテルさん、すまなかった

Intel Xe や FPGA 対応に気取られて、文法規格への対応が遅れるのではないかと懸念して過去記事にも書きましたが、そんなことはなかったようです。疑ってごめんなさい。

https://i.ytimg.com/vi/c3QW__5Q_Gk/hqdefault.jpg

Self-Help: With Illustrations of Character and Conduct

Self-Help: With Illustrations of Character and Conduct

  • 作者:Smiles, Samuel
  • 発売日: 2015/08/08
  • メディア: ハードカバー