Restart: owed conformer conf_sp in a resumed troubleshooting round, and a duplicate piped conf_sp

Aperta
#1,128 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

The work sits in Scheduler.run_conformer_jobs: read the restart branch's non-first-round path next to the live-round path that #1112 touched, and see how _pending_pipe_conf_sp is only populated in memory. Locate the existing restart tests that restore real adapter jobs from a restart.yml and use one as the template. Done means a conformer whose conf_sp is owed runs it before the ranking decision, and a conformer with a live pipe sp is not resubmitted, each covered by a restart test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Two restart gaps found while fixing the #1112 review threads. Both are outside those threads and are planned for after the v2.0.0 tag.

1. A troubleshooting round resumed from a restart can rank a conformer at the conf_opt level while its conf_sp is still owed.
In Scheduler.run_conformer_jobs, the restart branch's non-first-round path (xyzs = species.conformers) keeps the stored energies. If a conformer's conf_opt ended before the restart but its conf_sp never ran, its energy is still the opt-level one, and the decision can compare it with other conformers' sp-level energies. The in-memory _pending_pipe_conf_sp set that guards a live round is empty after a restart, so the #1112 fix does not cover this path.

2. A conf_sp still running inside an earlier session's pipe gets a second conf_sp on restart.
The run_sp_job call in the restart branch has no pipe check for conformer jobs. Both jobs run at the same level, so the ranking is not wrong; the cost is one extra job.

Expected: (1) on restart in a troubleshooting round, a conformer whose conf_sp is owed gets that conf_sp before the decision; (2) a conformer whose conf_sp is live in a pipe is not resubmitted. Each with a restart test that restores real adapter jobs from a restart.yml.

Lingua principale
Python
Stelle
55
Fork
26
Merge medio
3g 3h
PR unite (30g)
8

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ReactionMechanismGenerator/ARC

Tutte le issue di ReactionMechanismGenerator/ARC

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.