Skip to content

HPhi v3.7.2

Latest

Choose a tag to compare

@tmisawa tmisawa released this 11 Nov 09:28
ec32388

[ 日本語 / Eng ]

HPhi v3.7.2 は、MPI 実行時のエラー診断と modpara.def の読み込みを修正するパッチリリースです。正しく読み込めていた入力では、計算結果は v3.7.1 と同じです。

ダウンロードする場合は、GitHub が自動生成する "Source code" ではなく HPhi-3.7.2.tar.gz を利用してください。こちらには依存パッケージの StdFace と PDF マニュアルが同梱されています。

SHA256:

e9ea9e3a5604b65f4d5442195d1dede39865643d3521d308214a9ed308ce9c86  HPhi-3.7.2.tar.gz

インストール方法:

tar xzvf HPhi-3.7.2.tar.gz
mkdir HPhi.build && cd HPhi.build
cmake ../HPhi-3.7.2/
cmake --build .

主な変更

  • MPI 終了時の診断メッセージ(#327、develop の #300 の backport): すべての MPI rank が同じ致命的な入力エラーを検出したとき、rank 0 が診断メッセージを出力する前に、他の rank の MPI_Abort() によって終了させられることがありました。v3.7.2 では、rank 0 以外の rank が MPI_Abort() の前に短時間待つため、rank 0 の診断が残ります。待ち時間は既定で 2000 ms で、コンパイル時に -DHPHI_MPI_ABORT_GRACE_MS=<ms> で変更できます。不正な入力を拒否して非 0 で終了する動作は v3.7.1 と同じです。一部の MPI 環境で v3.7.1 の ctpq_invtemp_validation が Failed になっていたのは、この問題によるものです。
  • modpara.def の省略可能な虚部(#346、develop の #278 の backport): 各行の省略可能な 3 列目(虚部)を初期化していなかったため、OmegaMin 0.0 のように 3 列目を省略した行で、未初期化の値や前の行の値が OmegaMax・OmegaMin・OmegaOrg の虚部に加わることがありました。この読み込みは rank ごとに行われるため、一部の rank だけ複素周波数が異なり、スペクトル計算の BiCG が破綻することがありました。v3.7.2 では省略した列を 0 として読みます。また、キーワードだけで数値の無い行は、エラーとして拒否するようになりました。
  • 回帰テスト exitmpi_abort_grace_mpi・modpara_parse_validation などを追加しました。


[ 日本語 / Eng ]

HPhi v3.7.2 is a patch release that fixes MPI error diagnostics and the parsing of modpara.def. For inputs that were already read correctly, computational results are identical to v3.7.1.

Please download HPhi-3.7.2.tar.gz instead of the automatically generated "Source code" archives. The release asset bundles the StdFace dependency and PDF manuals.

SHA256:

e9ea9e3a5604b65f4d5442195d1dede39865643d3521d308214a9ed308ce9c86  HPhi-3.7.2.tar.gz

Installation:

tar xzvf HPhi-3.7.2.tar.gz
mkdir HPhi.build && cd HPhi.build
cmake ../HPhi-3.7.2/
cmake --build .

Main changes

  • Diagnostics at MPI shutdown (#327, backport of #300 from develop): when every MPI rank detected the same fatal input error, another rank's MPI_Abort() could terminate rank 0 before it printed its diagnostic. In v3.7.2, ranks other than 0 wait briefly before MPI_Abort(), so the rank-0 diagnostic is kept. The wait is 2000 ms by default and can be changed at compile time with -DHPHI_MPI_ABORT_GRACE_MS=<ms>. Invalid input is still rejected with a nonzero exit status, as in v3.7.1. This problem made ctpq_invtemp_validation fail with v3.7.1 on some MPI systems.
  • Optional imaginary column in modpara.def (#346, backport of #278 from develop): the optional third (imaginary) column of each line was not initialized. On a line that omits it, such as OmegaMin 0.0, an uninitialized or previous-line value could be added to the imaginary part of OmegaMax, OmegaMin, or OmegaOrg. Because every rank parses the file separately, a single rank could end up with a different complex frequency, and BiCG in spectrum calculations could break down. v3.7.2 reads an omitted column as 0, and rejects a line that has a keyword but no numeric value.
  • Added regression tests, including exitmpi_abort_grace_mpi and modpara_parse_validation.

AI assistance: Claude Code for root-cause analysis, the backports, and release preparation; OpenAI Codex for release-candidate preparation, review, and validation.