Restart recovery can start a second conformer chain while its conf_sp is deferred

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

メンテナーはふだん 3 日以内に返信

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

評価

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

調査の方向性

Read Scheduler.resume_conformer_isomorphism_trsh, has_running_conformer_jobs, and the first pass of schedule_jobs around line 1120. Reproduce the deferred conf_sp_0 case with an unreadable queue, then check the related job-name collision behavior. Done when the regression test confirms no duplicate conf_opt_0 is submitted and the shared-name case cannot end the wrong job.

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

説明

Follow-up from a Copilot review on #1093 (comment 4728874731). The line is #1120's code. Not a v2.0.0 blocker.

On restart, Scheduler.resume_conformer_isomorphism_trsh builds running_conf_sp from
running_jobs only. A conf_sp job that submit_unsubmitted_jobs() defers (unreadable queue)
or holds back (outage limit) is in deferred_jobs / stranded_jobs instead. Its conformer is
then counted as having no job, and respawn_conformers submits a second conf_opt for it.
Fix: build the list from unfinished_job_names(label), as has_running_conformer_jobs does.
Test: restore a species with a noted troubleshooting level, one submitted conf_sp_1 and one
unsubmitted conf_sp_0, make the queue unreadable, run schedule_jobs' first pass, and assert
no conf_opt_0 is submitted. Also check whether two jobs sharing the name conf_sp_0 can end the
wrong job.

The two chains also share one calcs folder: a conformer job name is not unique per chain, and run_job appends a duplicate name to running_jobs. A probe at 04d752f0f found no crash, no job troubleshot by mistake, and no energy from another level or geometry, so the conformer choice is unchanged. The cost is one duplicate conf_opt + conf_sp pair.

主要言語
Python
スター
55
フォーク
26
平均マージ
3日 3時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

ReactionMechanismGenerator/ARC のほかの issue

ReactionMechanismGenerator/ARC の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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