Test: gromacs pull_test's rate check fails on a short noisy run (0.0489 vs 0.030 nm/ps)

オープン 初心者向け
#1,345 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

tests/gromacs_md/pull_test.py と、報告された GROMACS 実行の出力 pullx.xvg から始めます。短い時間窓の傾きチェックを再現し、安定した測定方法を選択します。GROMACS のプロセス数を固定,确保しください。テストはホストのコア数に依存せずに成功する必要があります。

索引モデルが issue の本文から書いたものです。

説明

bug

tests/gromacs_md/pull_test.py fits a line to the second half of `pullx.xvg` (about 2 ps) and requires the slope to be within 35 % of the pull rate (0.030 nm/ps). On nerdegg, in the #868 GROMACS-parser run (branch cx/868-gmxparse, where the test ran under Slurm with 2–3 cores), it measured 0.0489 nm/ps:

distance 2.0533 -> 2.1337 nm over the last 2.00 ps: slope 0.0489 nm/ps; force -53.8 .. 150.4
FAIL  the COM distance rises at about the rate (0.0489 vs 0.030 nm/ps)

The number comes straight from GROMACS's own `pullx.xvg`, before any ECCE parser runs, so the parser port cannot have caused it. `gen-seed = 42` fixes the velocities, but the run asks for 8 processes, so the trajectory still depends on the host's thread count and domain decomposition. Over 2 ps, the thermal motion of the COM distance is comparable to the 0.06 nm the spring is meant to add.

Options: a longer measuring window or a slower, stiffer pull so that the drift dominates the noise, or a check on the time-averaged force against k·(rate·t − Δx) instead of on the slope. Either way, the test should pin `-nt` so the trajectory does not depend on the host.

主要言語
C
スター
10
フォーク
8
平均マージ
6時間 32分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。