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

Đang mở
#1,147 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
55
Fork
26
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ReactionMechanismGenerator/ARC

Tất cả issue của ReactionMechanismGenerator/ARC

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.