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

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

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
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
perl, python
Lĩnh vực
testing-qa, tooling

Hướng nghiên cứu

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.

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

Mô tả

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.

Ngôn ngữ chính
C
Star
10
Fork
8
Merge trung bình
6 giờ 32 phút
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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

Tất cả issue của FriendsofECCE/ECCE

Issue tương tự

Thêm issue về C

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.