Windows: basis-set export through the bundled python.exe is untested at runtime

Aperta
#1,334 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start in TGBSConfig::dump() inside the #ifdef _WIN32 branch of the basis-set export code, where the Python exporters (std2NWChem, std2ORCA, std2Gaussian-16/09/03/98) are launched via python.exe, then trace the call through Ecce::runCommand. This needs a Windows install to run; check the bundled interpreter, the PATH fallback, a space in ECCE_HOME, and that the generated deck matches the Linux output. Done means each of those four checks is recorded as passing or failing with the evidence.

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

Descrizione

Since 8087217f5 (#868), TGBSConfig::dump() on Windows runs the Python basis-set exporters through <ECCE_HOME>/python/python.exe, or through python.exe on PATH when that file is missing. This applies to std2NWChem, std2ORCA, std2ECCEQM, std2Gaussian-16/09/03/98, std2molcas and std2GAMESS-UK. Every other exporter still runs through perl. The code is inside #ifdef _WIN32, so no Linux test exercises it. A compile in CI says nothing about runtime.

To check on a Windows install, for at least one Python exporter (NWChem or ORCA) and one Gaussian exporter:

  • Basis-set export works with the bundled interpreter.
  • Basis-set export works with the PATH fallback.
  • Basis-set export works when ECCE_HOME contains a space.
  • The generated input deck names or writes out the basis exactly as on Linux.

Command form: "<shell>" /d /s /c ""<python.exe>" "<parsers>/<script>" < "<in>" > "<out>"", through Ecce::runCommand.

Lingua principale
C
Stelle
10
Fork
8
Merge medio
6h 32m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 FriendsofECCE/ECCE

Tutte le issue di FriendsofECCE/ECCE

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.