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

Aperta
#1,147 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
58/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

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.

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

Descrizione

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.

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.