Repository navigation
test: consolidate NAO GPU integration cases into 02 and 03 - #8198
Conversation
ABACUS-PR-BOT
left a comment
There was a problem hiding this comment.
Static review of 5db65e7. Both migrated cases preserve their inputs and references; the comments below are nonblocking. Static checks passed; no builds or GPU/runtime tests were performed for this review.
Non-blocking verification note: please include the device=gpu preparation used before the two reported Autotest commands. On the committed inputs, CASES_GPU.txt selects cases but does not change their device: 91 of the 93 entries otherwise use CPU. If inputs were prepared as in cuda.yml, recording that step and the tested SHA/executable identity would make the GPU result reproducible.
Thanks for catching this. You're right that the original manual integration runs did not reproduce the device gpu preparation step from cuda.yml, so the reported 93 passing cases do not by themselves establish full GPU-path coverage. I will rerun both suites with device gpu explicitly set for every selected case, using the CUDA-enabled executable from the tested commit. I will also record the commit SHA, executable SHA256, exact commands, and updated test results in the PR description. |
Thanks for catching the missing GPU input preparation step. I have rerun the complete 02/03 NAO GPU integration suites using the CUDA-enabled executable from commit The rerun completed successfully:
The validation was performed on a workstation with two RTX 4090 GPUs, using 2 MPI processes and 1 OpenMP thread. I have updated the PR description with the tested commit, executable SHA256, input preparation, exact commands, and results. The full logs and test summaries have also been archived. Thanks again for helping improve the reproducibility of this PR. |
Reminder
AGENTS.mdanddocs/developers_guide/agent_governance.md.source/changes.Linked Issue
No separate issue is linked. This PR consolidates the existing NAO GPU integration tests following maintainer guidance, without introducing new numerical functionality.
Unit Tests and/or Case Tests for my changes
1. Full GPU integration validation
The full GPU integration tests were executed on an offline workstation with two NVIDIA GeForce RTX 4090 GPUs.
Tested source commit:
5db65e7bcd53cc496026b7cf87d58791bbaa1e6cExecutable SHA256:
4a5e6079253a5a5d3ecdb48eee3dcce6fb7c47eda937445f0f2b0e4554906a56Execution environment:
CUDA_VISIBLE_DEVICES=0,1abacus_basic_gpuexecutableInput preparation:
Before running the tests, all selected
INPUTfiles were explicitly configured withdevice gpu, following the preparation logic in.github/workflows/cuda.yml.The tests were executed from an isolated validation copy of the 02/03 test suites, with the matching
PP_ORBpseudopotential and orbital resources made available through a local symbolic link.The validation script confirmed that all 93 selected cases had
device gpuconfigured. No committed INPUT files or reference results were modified.Commands run:
Result summary:
02_NAO_Gamma(GPU)03_NAO_multik(GPU)Both newly retained migration cases passed:
02_NAO_Gamma/scf_si2_tzdp_neq_spin2_gpu03_NAO_multik/scf_bisecuo_gpuAll entries in the corresponding
test.sumfiles report a successful result (1).The full execution logs, test summaries, tested commit identity, executable checksum, and input-validation script have been archived for reproducibility.
2. Slurm unit tests
Command run:
python3 -m unittest discover \ -s .ci/slurm \ -p 'test_runner.py' -vResult: 45/45 tests passed.
3. Git and documentation checks
Commands run:
The final follow-up commit
523c3ffafupdates only.ci/slurm/README.md, correcting a stale case-number reference after renumbering.The GPU integration results were obtained from the preceding tested source commit; the subsequent change is documentation-only.
Checks not run:
develop.What's changed?
This PR consolidates the NAO GPU integration tests into their corresponding existing test suites.
Test-suite consolidation
12_NAO_Gamma_GPUand13_NAO_multik_GPUtest directories.03_NAO_multik/scf_bisecuo_gpu.02_NAO_Gamma/scf_si2_tzdp_neq_spin2_gpu.CASES_GPU.txtlists.CI and Slurm integration
case.032reference in.ci/slurm/README.md.Behavior
The existing 02/03 GPU regression workflows now cover the retained cases without requiring separate 12/13 test suites.
There are no changes to ABACUS numerical algorithms, physical models, or user-facing INPUT parameters.
Governance Notes
INPUT/docs changes:
Core module impact:
source/, including ESolver, HSolver, ElecState, Hamilt, Operator, or Psi.Slurm transition limitation:
developwith the PR source checkout.Smoke-test coverage:
nspin=1and complexnspin=2calculations can be considered separately.Exceptions requested: